⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gui2.h

📁 十七种模拟器源代码 非常有用的作课程设计不可缺少的
💻 H
📖 第 1 页 / 共 2 页
字号:
   { x_edit_proc,        48,   68,   6*30, 8,    GUI_COL_TEXT_1,  253,  0,    0,       240,  0,    romedit[3]},   { dir_edit_proc,      232,  38,   8,    8,    GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    D_EXIT,  0,    0,    " "},   { dir_edit_proc,      232,  48,   8,    8,    GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    D_EXIT,  1,    0,    " "},   { dir_edit_proc,      232,  58,   8,    8,    GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    D_EXIT,  2,    0,    " "},   { dir_edit_proc,      232,  68,   8,    8,    GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    D_EXIT,  3,    0,    " "},   { NULL,               0,    0,    0,    0,    0,    0,    0,    0,       0,    0,    NULL}};DIALOG joy_select[] ={   /* (dialog proc)      (x)   (y)   (w)   (h)   (fg)  (bg)  (key) (flags)  (d1)  (d2)  (dp) */   { d_raine_window_proc,40,   10,   240,  178+12,GUI_COL_TEXT_1, GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Joystick Selection"},   { d_raine_list_proc,  48,   26+12,224,  132,  GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    joylist_getter},   { x_raine_button_proc,48,   164+12,48,  16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'D',  D_EXIT,  0,    0,    "&Done"},   { joy_edit_proc,      104,  164+12,72,  16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'C',  D_EXIT,  0,    0,    "&Calibrate"},   { x_text_proc,        48,   26,   0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Choose Joystick:"},   { NULL,               0,    0,    0,    0,    0,    0,    0,    0,       0,    0,    NULL}};DIALOG auto_select[] ={   /* (dialog proc)      (x)   (y)   (w)   (h)   (fg)  (bg)  (key) (flags)  (d1)  (d2)  (dp) */   { d_raine_window_proc,40,   10,   240,  158+16,GUI_COL_TEXT_1, GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Autofire Setup"},   { d_raine_list_proc,  48,   26+12,224,  112,  GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    autolist_getter},   { x_raine_button_proc,48,   144+16,48,  16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'D',  D_EXIT,  0,    0,    "&Done"},   { auto_edit_proc,     104,  144+16,48,  16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'E',  D_EXIT,  0,    0,    "&Edit"},   { x_text_proc,        48,   26,   0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Edit Autofire Speeds:"},   { NULL,               0,    0,    0,    0,    0,    0,    0,    0,       0,    0,    NULL}};DIALOG language_dialog[] ={   /* (dialog proc)      (x)   (y)   (w)   (h)   (fg)  (bg)  (key) (flags)  (d1)  (d2)  (dp) */   { d_raine_window_proc,40,   10,   240,  178+12,GUI_COL_TEXT_1, GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "ROM Switches"},   { d_raine_list_proc,  48,   26+12,224,  100,  GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    D_EXIT,  0,    0,    language_getter},   { x_raine_button_proc,48,   164+12,48,  16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'D',  D_EXIT,  0,    0,    "&Done"},   { language_sel_proc,  102,  164+12,56,  16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'S',  D_EXIT,  0,    0,    "&Select"},   { x_text_proc,        48,   26,   0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Change ROM Version:"},   { x_text_proc,        48,   150,  0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Current:"},   { x_text_proc,        48,   160,  0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    langname},   { NULL,               0,    0,    0,    0,    0,    0,    0,    0,       0,    0,    NULL}};DIALOG loading_dialog[] ={   /* (dialog proc)     (x)   (y)   (w)   (h)   (fg)             (bg)                 (key) (flags)  (d1)  (d2)  (dp1)   (dp2) (dp3)  */   { d_raine_window_proc,0,    0,    160,  50,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Load Game", NULL, NULL},   { x_ctext_proc,       80,   18,   0,    0,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Loading Game Files...", NULL, NULL},   { d_progress_proc,    16,   32,   128,  8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    NULL, NULL, NULL},   { load_game_proc,     0,    0,    0,    0,    GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    NULL, NULL, NULL},   { NULL,               0,    0,    0,    0,    0,               0,                   0,    0,       0,    0,    NULL, NULL, NULL}};DIALOG game_setup_dialog[] ={   /* (dialog proc)      (x)   (y)   (w)   (h)   (fg)  (bg)  (key) (flags)  (d1)  (d2)  (dp) */   { d_raine_window_proc,0,    0,    100,  140,  GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Game Setup"},   { x_text_proc,        8,    16,   0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Select:"},   { x_raine_button_proc,8,    96+20,48,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'B',  D_EXIT,  0,    0,    "&Back"},   { game_reset_proc,    8,    16+12,84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'R',  D_EXIT,  0,    0,    "&Reset Game"},   { dsw_select_proc,    8,    36+12,84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'D',  D_EXIT,  0,    0,    "&Dipswitches"},   { actionreplay_proc,  8,    56+12,84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'A',  D_EXIT,  0,    0,    "&Action Replay"},   { language_proc,      8,    76+12,84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'V',  D_EXIT,  0,    0,    "ROM &Version"},   { NULL,               0,    0,    0,    0,    0,               0,                   0,    0,       0,    0,    NULL}};DIALOG control_setup_dialog[] ={   /* (dialog proc)      (x)   (y)   (w)   (h)   (fg)  (bg)  (key) (flags)  (d1)  (d2)  (dp) */   { d_raine_window_proc,0,    0,    110,  140,  GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Controls"},   { x_text_proc,        8,    16,   0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Select:"},   { x_raine_button_proc,8,    116,  48,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'B',  D_EXIT,  0,    0,    "&Back"},   { input_select_proc,  8,    16+12,94,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'K',  D_EXIT,  0,    0,    "&Keyboard Setup"},   { joy_select_proc,    8,    36+12,94,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'J',  D_EXIT,  0,    0,    "&Joystick Setup"},   { auto_select_proc,   8,    56+12,94,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'A',  D_EXIT,  0,    0,    "&Autofire Setup"},   { joy_calib_proc,     8,    76+12,94,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'S',  D_EXIT,  0,    0,    "Joystick &Select"},   { NULL,               0,    0,    0,    0,    0,               0,                   0,    0,       0,    0,    NULL}};DIALOG main_dialog[] ={   /* (dialog proc)      (x)   (y)   (w)   (h)   (fg)  (bg)  (key) (flags)  (d1)  (d2)  (dp1) (dp2) (dp3) */   { d_yield_proc,      16,    0,    280,    220,    0,    0,    0,    0,       0,    0,    NULL},#if 0   { d_raine_window_proc, 16,  160,    256,  60,  GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Raine " VERSION " (c)1998-2001 " HANDLE },   { x_ctext_proc,       128,  180,   0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    gamename, NULL, NULL},   { x_ctext_proc,       128,  190,   0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    screenname, NULL, NULL},   { x_ctext_proc,       128,  200,   0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    soundname, NULL, NULL},   { game_play_proc,     16,   16,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'P',  D_EXIT,  0,    0,    "&Play Game", NULL, NULL},   { game_select_proc,   16,   36,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'G',  D_EXIT,  0,    0,    "Change &Game", NULL, NULL},   { control_setup_proc, 16,   56,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'C',  D_EXIT,  0,    0,    "&Control Setup", NULL, NULL},   { game_setup_proc,    16,   76,  84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'M',  D_EXIT,  0,    0,    "Ga&me Setup", NULL, NULL},   { screen_select_proc, 156,  16,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'S',  D_EXIT,  0,    0,    "&Screen Setup", NULL, NULL},   { sound_setup_proc,   156,  36,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'O',  D_EXIT,  0,    0,    "S&ound Setup", NULL, NULL},   { about_proc,         156,  56,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'A',  D_EXIT,  0,    0,    "&About Raine", NULL, NULL},   { raine_quit_proc,    156,  76,  84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'Q',  D_EXIT,  0,    0,    "&Quit Raine", NULL, NULL},   { NULL,              0,    0,    0,    0,    0,    0,    0,    0,       0,                      0,    NULL,             NULL, NULL  }#else   { d_raine_box_proc,   16,   160,  320-32,64,  GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    NULL},   { game_play_proc,     16,   16,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'P',  D_EXIT,  0,    0,    "&Play Game"},   { game_select_proc,   16,   46,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'G',  D_EXIT,  0,    0,    "Change &Game"},   { control_setup_proc, 16,   76,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'C',  D_EXIT,  0,    0,    "&Control Setup"},   { raine_quit_proc,    16,   106,  84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'Q',  D_EXIT,  0,    0,    "&Quit Raine"},   { screen_select_proc, 220,  16,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'S',  D_EXIT,  0,    0,    "&Screen Setup"},   { sound_setup_proc,   220,   46,   84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'O',  D_EXIT,  0,    0,    "S&ound Setup"},    { game_setup_proc,    220,   76,  84,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  'M',  D_EXIT,  0,    0,    "Ga&me Setup"},   { x_text_proc,        24,   196,  0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    ""},   { x_text_proc,        24,   166,  0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    gamename},   { x_text_proc,        24,   176,  0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    screenname},   { x_text_proc,        24,   186,  0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    soundname},   { x_text_proc,       50,   202,  0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    hiscores},   { x_text_proc,       120,   202,  0,    8,    GUI_COL_TEXT_2,  GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    cheats},   { d_raine_oxygen_proc,16,   160,  8,    8,    0,    0,    0,    0,       0,    0,    NULL},   { about_proc,         24,   202,  18,   16,   GUI_COL_TEXT_1,  GUI_BOX_COL_MIDDLE,  '?',  D_EXIT,  0,    0,    "?!"},   { NULL,               0,    0,    0,    0,    0,               0,                   0,    0,       0,    0,    NULL}#endif};DIALOG load_problem[] ={   /* (dialog proc)      (x)  (y)  (w)  (h) (fg) (bg)  (key) (flags)  (d1)  (d2)  (dp) */   { d_raine_window_proc,  0,   0, 316, 152, GUI_COL_TEXT_1, GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    "Error Report"},   { x_raine_button_proc,  8, 128,  32,  16, GUI_COL_TEXT_1, GUI_BOX_COL_MIDDLE,  'O',  D_EXIT,  0,    0,    "&Okay"},   { d_raine_textbox_proc, 8,  20, 300, 102, GUI_COL_TEXT_1, GUI_BOX_COL_MIDDLE,  0,    0,       0,    0,    NULL},   { NULL,               0,    0,    0,    0,    0,               0,                   0,    0,       0,    0,    NULL}};extern DIALOG file_selector[];extern DIALOG gfx_mode_dialog[];DIALOG *raine_dialog_list[] ={   about_raine,   about_game,   game_select,   romdir_edit_dialog,   input_select,   joy_input_select,   joy_select,   auto_select,   cheatdata_edit_dialog,   actionreplay_dialog,   search_main_dialog,   search_mode_dialog,   search_type_0a_dialog,   search_type_0b_dialog,   search_type_1a_dialog,   search_type_1b_dialog,   search_type_2b_dialog,   search_type_3b_dialog,   dsw_select,   language_dialog,   key_editing,   joy_key_editing,   loading_dialog,   game_setup_dialog,   sound_setup_dialog,   control_setup_dialog,   main_dialog,   load_problem,   hex_view_dialog,   file_selector,   gfx_mode_dialog,   NULL,};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -