struct hotkey_buttons { char *filename; int x, y; int hotspot; UI_BUTTON button; // because we have a class inside this struct, we need the constructor below.. hotkey_buttons(char *name, int x1, int y1, int h) : filename(name), x(x1), y(y1), hotspot(h) {} }; // button definitions static hotkey_buttons Buttons[GR_NUM_RESOLUTIONS][NUM_BUTTONS] = { //XSTR:OFF { // GR_640 hotkey_buttons("HKB_00", 1, 94, 0), hotkey_buttons("HKB_01", 1, 133, 1), hotkey_buttons("HKB_02", 15, 342, 2), hotkey_buttons("HKB_03", 84, 342, 3), hotkey_buttons("HKB_04", 161, 342, 4), hotkey_buttons("HKB_05", 539, 5, 5), hotkey_buttons("HKB_06", 539, 44, 6), hotkey_buttons("HKB_07", 539, 431, 7), hotkey_buttons("HKB_08", 539, 455, 8), hotkey_buttons("HKB_09", 575, 432, 9) }, { // GR_1024 hotkey_buttons("2_HKB_00", 2, 150, 0), hotkey_buttons("2_HKB_01", 2, 213, 1), hotkey_buttons("2_HKB_02", 24, 548, 2),
struct hotkey_buttons { char *filename; int x, y; int hotspot; UI_BUTTON button; // because we have a class inside this struct, we need the constructor below.. hotkey_buttons(char *name, int x1, int y1, int h) : filename(name), x(x1), y(y1), hotspot(h) {} }; // button definitions static hotkey_buttons Buttons[GR_NUM_RESOLUTIONS][NUM_BUTTONS] = { //XSTR:OFF { // GR_640 hotkey_buttons("HKB_00", 50, 47, 0), hotkey_buttons("HKB_01", 50,345, 1), hotkey_buttons("HKB_02", 45,375, 2), hotkey_buttons("HKB_03", 100,375, 3), hotkey_buttons("HKB_04", 155,375, 4), hotkey_buttons("HKB_05", 240,375, 5), hotkey_buttons("HKB_06", 240,405, 6), hotkey_buttons("HKB_07", 485,375, 7), hotkey_buttons("HKB_08", 430,375, 8), hotkey_buttons("HKB_09", 540,375, 9) }, { // GR_1024 hotkey_buttons("2_HKB_00", 2, 150, 0), hotkey_buttons("2_HKB_01", 2, 213, 1), hotkey_buttons("2_HKB_02", 24, 548, 2),