History log of /haiku/src/preferences/appearance/LookAndFeelSettingsView.h
Revision Date Author Comments
# 2e99f0e1 06-Mar-2020 John Scipione <jscipione@gmail.com>

Appearance Prefs: Remember saved Decorator and ControlLook setting

... and make the Defaults and Revert buttons revert back to the
default/saved decorator and control look.

Add private _SetControlLook() method to set the control look which is
the equivalent of _SetDecor() but for control looks.

The person who implemented the ControlLook menu field made it so that
it would truncate the trailing "ControlLook" from the control look name,
do the same for Decorators so that BeDecorator is listed as simply "Be"
in the menu field. This is an alteration to the menu item label only and
does not affect the name of the decorator or control look.

Add private _DecorLabel() and _ControlLookLabel() methods to build
the truncated Decorator and ControlLook menu item labels respectively.

Set the current and saved decorator and control look in the constructor
and get rid of some private setter methods _AdoptToCurrentDecor() and
_AdoptInterfaceToCurrentDecor() that are no longer needed. These actions
are now done exclusively in the constructor and _SetDecor() respectively.

Remove unused knob style message constants (for now...)

Update copyright year to 2020

Change-Id: I0444a6198116d7699a84487cf97e9d826b14d1cb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2315
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# cfdf08e8 07-Mar-2020 John Scipione <jscipione@gmail.com>

Appearance Prefs: style fixes to LookAndFeelSettings only

msg => message
pointer style
80 char limit fixes
Rename variable newControlLook => controlLook
Add #pragma descriptor comments.
Replace for (; condition;) loop with a while loop
Initialize count outside a different for loop
Change iterator variable i type from int => int32 (not purely style.)
2 lines of whitespace before ending header guard
Alphabetize (my) author name below Ryan Leavengood in header top comment

No functional change intended in this commit except for int => int32.

Change-Id: Ic78e3b0c85207ba07a3a71696d741344e148ac9d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2317
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 733f097b 03-May-2019 François Revol <revol@free.fr>

Appearance: Add a ControlLook MenuField

Change-Id: If815fa6a864d2a916eb1ae878400d342f666e3d2
Reviewed-on: https://review.haiku-os.org/c/1434
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 49c29fa9 22-Jul-2018 waddlesplash <waddlesplash@gmail.com>

Revert "Appearance Prefs: Add scroll bar knob setting"

This reverts commit 0988f80fed032d45efed92734f9487daa55d4e09.

Change-Id: I60ec2b05a7c66e3c3c8f18dc821d6213934b0cfb


# 0988f80f 23-Jan-2015 John Scipione <jscipione@gmail.com>

Appearance Prefs: Add scroll bar knob setting

Check values before setting them in SetFromScrollBarInfo

Pin arrow and knob settings to the top so they are aligned
Adjust vertical spacing on single/double to match knob style height

Only draw arrows on single/double FakeScrollBar

Change-Id: I6be89f86181a87808ba5201caf88a33c4414d4c8


# b5446310 04-Nov-2012 John Scipione <jscipione@gmail.com>

Remove the scroll bar knobs and corresponding setting


# 68c70f9b 02-Nov-2012 John Scipione <jscipione@gmail.com>

Variable name cleanup


# 928ffe6d 01-Nov-2012 John Scipione <jscipione@gmail.com>

Allow the user to select the scrollbar setting graphically.

This uses custom controls to allow the user to choose between
single and double arrows and none, dots, or line knob styles
in a graphical fashion copied from BeOS Scrollbar preflet.


# 6446fc35 02-Sep-2012 Ryan Leavengood <leavengood@gmail.com>

Rename DecorSettingsView to LookAndFeelSettingsView.


# b5446310e961f84511a71964c4dca96ce6b7d2f9 04-Nov-2012 John Scipione <jscipione@gmail.com>

Remove the scroll bar knobs and corresponding setting


# 68c70f9b6dc96d50f677862c579a65085dd7d300 02-Nov-2012 John Scipione <jscipione@gmail.com>

Variable name cleanup


# 928ffe6dee3b7d183f0a9dfef02d0aae28232364 01-Nov-2012 John Scipione <jscipione@gmail.com>

Allow the user to select the scrollbar setting graphically.

This uses custom controls to allow the user to choose between
single and double arrows and none, dots, or line knob styles
in a graphical fashion copied from BeOS Scrollbar preflet.


# 6446fc35823ea31c3bd412a50ead1c4fb0c6d95b 02-Sep-2012 Ryan Leavengood <leavengood@gmail.com>

Rename DecorSettingsView to LookAndFeelSettingsView.