It's hip to (not) be square...

This commit is contained in:
Simon Long 2024-05-03 11:49:05 +01:00
parent 74e581118f
commit 479df784ea
4 changed files with 19 additions and 13 deletions

View file

@ -1049,8 +1049,10 @@ entry(xmlNode *node, char *nodename, char *content)
}
} else if (!strcasecmp(nodename, "ignoreButtonReleasePeriod.menu")) {
rc.menu_ignore_button_release_period = atoi(content);
} else if (!strcasecmp(nodename, "size.magnifier")) {
rc.mag_size = atoi(content);
} else if (!strcasecmp(nodename, "width.magnifier")) {
rc.mag_width = atoi(content);
} else if (!strcasecmp(nodename, "height.magnifier")) {
rc.mag_height = atoi(content);
} else if (!strcasecmp(nodename, "initScale.magnifier")) {
rc.mag_scale = atoi(content);
} else if (!strcasecmp(nodename, "borderColour.magnifier")) {
@ -1268,7 +1270,8 @@ rcxml_init(void)
rc.menu_ignore_button_release_period = 250;
rc.mag_scale = 2;
rc.mag_size = 400;
rc.mag_width = 400;
rc.mag_height = 400;
rc.mag_border_col.r = 255;
rc.mag_border_col.g = 0;
rc.mag_border_col.b = 0;