X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fapp-config.h;h=f153a9d5fe8a11979eae996bca1c4ee26e988133;hb=add152ddb851575c885208c12b008887e68b9f48;hp=f6c27b92bae51cfa09f8bea641456d50cdd896c2;hpb=1aa4da2dd777823a4aa5f40cf8cf7b1c09401a34;p=emu8051.git diff --git a/src/app-config.h b/src/app-config.h index f6c27b9..f153a9d 100644 --- a/src/app-config.h +++ b/src/app-config.h @@ -21,6 +21,20 @@ #ifndef APP_CONFIG_H #define APP_CONFIG_H 1 +/* + * Layout1: Layout2: + * + * REGS | PROGRAM | | IRAM + * -------------- REGS | PROGRAM | ---- + * IRAM | | XRAM + * -------------- + * XRAM + */ +enum layout_t { + UI_LAYOUT1 = 1, + UI_LAYOUT2, +}; + struct app_config_t { /* Emulation options */ @@ -29,9 +43,15 @@ struct app_config_t /* UI settings */ int win_width; int win_height; - int hpane_pos; - int vpane_pos; /* Registers and memory windows. */ - int vpane_mem_pos; /* Internal and external memory windows. */ + int hpane_pos; /* For registers and program windows. */ + int vpane_pos; /* For internal and external memory windows. */ + int main_pane_pos; /* Between hpane and vpane. */ + + /* View menu options */ + int layout; /* UI Layout 1 or 2 */ + int view_int_memory; + int view_ext_memory; + int bits_per_row; /* 8 or 16 */ }; int