comparison src/layout.c @ 2863:4b92a65f8367

Fix #645: Hide Bars cannot be toggled after Geeqie restart https://github.com/BestImageViewer/geeqie/issues/645
author Colin Clark <colin.clark@cclark.uk>
date Sat, 17 Nov 2018 19:48:35 +0000
parents e6f95baec8b5
children 2e7fd08bfbe4
comparison
equal deleted inserted replaced
2862:f105ca657cb3 2863:4b92a65f8367
2530 WRITE_NL(); WRITE_BOOL(*layout, tools_hidden); 2530 WRITE_NL(); WRITE_BOOL(*layout, tools_hidden);
2531 WRITE_SEPARATOR(); 2531 WRITE_SEPARATOR();
2532 2532
2533 WRITE_NL(); WRITE_BOOL(*layout, toolbar_hidden); 2533 WRITE_NL(); WRITE_BOOL(*layout, toolbar_hidden);
2534 WRITE_NL(); WRITE_BOOL(*layout, show_info_pixel); 2534 WRITE_NL(); WRITE_BOOL(*layout, show_info_pixel);
2535 WRITE_SEPARATOR();
2536
2537 WRITE_NL(); WRITE_BOOL(*layout, bars_state.info);
2538 WRITE_NL(); WRITE_BOOL(*layout, bars_state.sort);
2539 WRITE_NL(); WRITE_BOOL(*layout, bars_state.tools_float);
2540 WRITE_NL(); WRITE_BOOL(*layout, bars_state.tools_hidden);
2541 WRITE_NL(); WRITE_BOOL(*layout, bars_state.hidden);
2542 WRITE_SEPARATOR();
2535 2543
2536 WRITE_NL(); WRITE_UINT(*layout, image_overlay.state); 2544 WRITE_NL(); WRITE_UINT(*layout, image_overlay.state);
2537 WRITE_NL(); WRITE_INT(*layout, image_overlay.histogram_channel); 2545 WRITE_NL(); WRITE_INT(*layout, image_overlay.histogram_channel);
2538 WRITE_NL(); WRITE_INT(*layout, image_overlay.histogram_mode); 2546 WRITE_NL(); WRITE_INT(*layout, image_overlay.histogram_mode);
2539 2547
2616 if (READ_BOOL(*layout, tools_float)) continue; 2624 if (READ_BOOL(*layout, tools_float)) continue;
2617 if (READ_BOOL(*layout, tools_hidden)) continue; 2625 if (READ_BOOL(*layout, tools_hidden)) continue;
2618 if (READ_BOOL(*layout, toolbar_hidden)) continue; 2626 if (READ_BOOL(*layout, toolbar_hidden)) continue;
2619 if (READ_BOOL(*layout, show_info_pixel)) continue; 2627 if (READ_BOOL(*layout, show_info_pixel)) continue;
2620 2628
2629 if (READ_BOOL(*layout, bars_state.info)) continue;
2630 if (READ_BOOL(*layout, bars_state.sort)) continue;
2631 if (READ_BOOL(*layout, bars_state.tools_float)) continue;
2632 if (READ_BOOL(*layout, bars_state.tools_hidden)) continue;
2633 if (READ_BOOL(*layout, bars_state.hidden)) continue;
2634
2621 if (READ_UINT(*layout, image_overlay.state)) continue; 2635 if (READ_UINT(*layout, image_overlay.state)) continue;
2622 if (READ_INT(*layout, image_overlay.histogram_channel)) continue; 2636 if (READ_INT(*layout, image_overlay.histogram_channel)) continue;
2623 if (READ_INT(*layout, image_overlay.histogram_mode)) continue; 2637 if (READ_INT(*layout, image_overlay.histogram_mode)) continue;
2624 2638
2625 if (READ_INT(*layout, log_window.x)) continue; 2639 if (READ_INT(*layout, log_window.x)) continue;