comparison src/rcfile.c @ 764:ae618ebec3e9

Save properties window width and height to rc file and restore them on next session if layout.save_window_positions is set to TRUE.
author zas_
date Thu, 29 May 2008 07:52:05 +0000
parents 77ff94c0490a
children ff51413f098d
comparison
equal deleted inserted replaced
763:81f9e8dbb4bf 764:ae618ebec3e9
392 WRITE_INT(layout.float_window.x); 392 WRITE_INT(layout.float_window.x);
393 WRITE_INT(layout.float_window.y); 393 WRITE_INT(layout.float_window.y);
394 WRITE_INT(layout.float_window.w); 394 WRITE_INT(layout.float_window.w);
395 WRITE_INT(layout.float_window.h); 395 WRITE_INT(layout.float_window.h);
396 WRITE_INT(layout.float_window.vdivider_pos); 396 WRITE_INT(layout.float_window.vdivider_pos);
397 WRITE_SEPARATOR();
398
399 WRITE_INT(layout.properties_window.w);
400 WRITE_INT(layout.properties_window.h);
397 WRITE_SEPARATOR(); 401 WRITE_SEPARATOR();
398 402
399 WRITE_BOOL(layout.tools_float); 403 WRITE_BOOL(layout.tools_float);
400 WRITE_BOOL(layout.tools_hidden); 404 WRITE_BOOL(layout.tools_hidden);
401 WRITE_BOOL(layout.tools_restore_state); 405 WRITE_BOOL(layout.tools_restore_state);
731 READ_INT(layout.main_window.x); 735 READ_INT(layout.main_window.x);
732 READ_INT(layout.main_window.y); 736 READ_INT(layout.main_window.y);
733 READ_INT(layout.main_window.w); 737 READ_INT(layout.main_window.w);
734 READ_INT(layout.main_window.h); 738 READ_INT(layout.main_window.h);
735 READ_BOOL(layout.main_window.maximized); 739 READ_BOOL(layout.main_window.maximized);
740 READ_INT(layout.main_window.hdivider_pos);
741 READ_INT(layout.main_window.vdivider_pos);
742
736 READ_INT(layout.float_window.x); 743 READ_INT(layout.float_window.x);
737 READ_INT(layout.float_window.y); 744 READ_INT(layout.float_window.y);
738 READ_INT(layout.float_window.w); 745 READ_INT(layout.float_window.w);
739 READ_INT(layout.float_window.h); 746 READ_INT(layout.float_window.h);
740 READ_INT(layout.float_window.vdivider_pos); 747 READ_INT(layout.float_window.vdivider_pos);
741 READ_INT(layout.main_window.hdivider_pos); 748
742 READ_INT(layout.main_window.vdivider_pos); 749 READ_INT(layout.properties_window.w);
750 READ_INT(layout.properties_window.h);
751
743 READ_BOOL(layout.tools_float); 752 READ_BOOL(layout.tools_float);
744 READ_BOOL(layout.tools_hidden); 753 READ_BOOL(layout.tools_hidden);
745 READ_BOOL(layout.tools_restore_state); 754 READ_BOOL(layout.tools_restore_state);
746 READ_BOOL(layout.toolbar_hidden); 755 READ_BOOL(layout.toolbar_hidden);
747 756