Save window position in configuration file
[emu8051.git] / src / gtk / app-config.h
index b05d872..73b9b24 100644 (file)
@@ -23,14 +23,15 @@ enum layout_t {
        UI_LAYOUT2,
 };
 
-struct app_config_t
-{
+struct app_config_t {
        /* Emulation options */
        int clear_ram_on_file_load;
 
        /* UI settings */
        int win_width;
        int win_height;
+       int win_pos_x;
+       int win_pos_y;
        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. */