haiku/src
John Scipione fc23c09758 BDeskbar & Deskbar: export window bool settings to BDeskbar
Add methods to get and set "Always on top", "Auto raise", and "auto hide"
which are all booleans which control aspects of the Deskbar window to
BDeskbar.

Set the bool to the default value initially. Check if sending the
message succeeds, if so check the reply which also fills out the bool.
Don't check to see if reply succeeded because the bool will only be
overwritten if it did.

Follow the BDeskbar convention Is...() for getter, Set...() for setter
e.g IsAlwaysOnTop() is the getter, SetAlwaysOnTop() is the setter.

Define new message constants to call the newly created methods.
Follow BDeskbar convention: 'gtla' is used for getter, 'stla' for setter.
g/s for getter/setter, tla is an all-lowercase code unique to each
getter/setter pair.

Copy/paste these message constants into BarApp.h unchanged. Replace four
letter codes with imported message constants in BarApp.cpp and
BarWindow.cpp. Much nicer than using bare codes.

The new BDeskbar methods are all handled by TBarApp. The getters send
back a reply message containing the bool while the setters fall through
to existing setter cases.
2017-11-27 11:05:22 -08:00
..
add-ons build: Cleanup and fixes following previous commits. 2017-11-25 21:15:10 +01:00
apps BDeskbar & Deskbar: export window bool settings to BDeskbar 2017-11-27 11:05:22 -08:00
bin locale: document -c as the shortcut to get message locale again. 2017-11-23 14:50:11 +01:00
build Move SHA256 class to libroot instead of linking libshared into libroot. 2017-10-03 20:18:26 -04:00
data build: Cleanup and fixes following previous commits. 2017-11-25 21:15:10 +01:00
kits BDeskbar & Deskbar: export window bool settings to BDeskbar 2017-11-27 11:05:22 -08:00
libs build: Cleanup and fixes following previous commits. 2017-11-25 21:15:10 +01:00
preferences build: Cleanup and fixes following previous commits. 2017-11-25 21:15:10 +01:00
servers app_server/DelayedMessage: Delete scheduled on error. 2017-11-23 19:40:04 +01:00
system Add ZstdCompressionAlgorithm. 2017-11-24 21:35:49 +01:00
tests Add ZstdCompressionAlgorithm. 2017-11-24 21:35:49 +01:00
tools tools: Add a new hardlink_packages.py script. 2017-11-25 21:15:09 +01:00
Jamfile Interface Guidelines: migrate to docs/, use DocBookCSS. 2015-02-12 17:08:04 -05:00