From f9117532955f0d8935971eb1053f13f9ecab7662 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 29 Mar 2021 13:40:54 +0300 Subject: Preferences: Collapse preformatted blocks on page load IssueID #180 --- src/prefs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/prefs.h') diff --git a/src/prefs.h b/src/prefs.h index 1bd434d0..232c6fc3 100644 --- a/src/prefs.h +++ b/src/prefs.h @@ -32,6 +32,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ iDeclareType(Prefs) +/* TODO: Refactor at least the boolean values into an array for easier manipulation. + Then they can be (de)serialized as a group. Need to use a systematic command naming + convention for notifications. */ struct Impl_Prefs { /* UI state */ int dialogTab; @@ -53,6 +56,7 @@ struct Impl_Prefs { iBool hoverLink; iBool smoothScrolling; iBool loadImageInsteadOfScrolling; + iBool collapsePreOnLoad; iString searchUrl; /* Network */ iString caFile; -- cgit v1.2.3