History log of /haiku/src/apps/mediaplayer/settings/Settings.h
Revision Date Author Comments
# 6375ef05 10-Apr-2021 Fredrik Modéen <fredrik@modeen.se>

Move SettingsMessage to a central location

* Move SettingsMessage
* Remove SettingsMessage from MediaPlayer and WebPositive
* Use the central SettingsMessage in MediaPlayer and WebPositive (Later Bluetooth)
* Fix a Jam file.

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


# 3248de3d 10-Jul-2018 Julien Lepiller <julien@lepiller.eu>

Mediaplayer: remember position and volume

Change-Id: I43fa7cbcedd39c39e4b136e9e1f9bb34bf3eb570


# a178983d 09-Sep-2011 Axel Dörfler <axeld@pinc-software.de>

Cleanup while I was searching for a bug that ended up being in the app_server;
the decorators now return non-sense as their frame, thank you Clemens!
* Got rid of Settings::CurrentSettings() - the get/store pair wasn't really
thread-safe anyway, as it always updated all fields, so settings could get
lost easily. The mechanism is still being used in the settings window, though.
* Introduced some getters/setters for the settings that work on the message
directly which simplifies some code.
* Minor style cleanups.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42732 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e65a6eb2 28-Sep-2010 Stephan Aßmus <superstippi@gmx.de>

* Give some options for subtitle placement and size.
* Optimize subtitle drawing when subtitles are to be
displayed at screen bottom versus video bottom, and
the subtitle frame does not intersect the video. In
that case we only need to draw it when it changes
(or is to be removed). Fixed the dead-lock problem
in a nicer way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38841 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 341ea11e 12-Sep-2010 Stephan Aßmus <superstippi@gmx.de>

Implemented enlarging controls in full-screen mode, it's optional
and the setting defaults to "on".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38610 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f907fa59 16-Nov-2009 Stephan Aßmus <superstippi@gmx.de>

Work in progress for storing some window position/size related settings of
the first window, and restoring them for audio content.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34075 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ac6b0fc9 11-Oct-2008 Stephan Aßmus <superstippi@gmx.de>

Remember the last used file panel folder. Also remember the folder even
if the user cancled the file panel. Some improvements to the SettingsMessage
and some more helpful comments here and there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27986 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 613ecaf5 22-Aug-2008 Stephan Aßmus <superstippi@gmx.de>

* Added the implementation behind the "Use overlays if available" and "Scale
videos smoothly in non-overlay mode" options.
* Disabled the other controls in the SettingsWindow which are not yet
implemented.
* Enable and disable Revert button according to settings state.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27157 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 26e9cdb7 22-Aug-2008 Stephan Aßmus <superstippi@gmx.de>

I shouldn't push my luck too much, so I'm commiting these WIP changes:
* Removed unmaintained makefile.
* Renamed TPreferences to SettingsMessage, which better describes the beast.
* Renamed setter functions in SettingsMessage for more convenient use.
* Added getter functions which take a default value argument that is returned
when there is no value for the given key.
* Cleanup in Settings.[h|cpp], made things simpler and more convenient. Removed
redundant saving of the settings/message, which SettingsMessage already takes
care of. Added a global instance of the application settings.
* Some cleanup in FileReadWrite and Playlist.
* Reimplemented the SettingsWindow with the new layout API, the old code is
still in place for compiling for BeOS.
* Added two more check boxen for the overlay and bilinear scaling option I
intend to add eventually.
* Refactored the rest of the code in SettingsWindow to use the new global
settings instance and also support a Revert feature. All the new controls are
only available in Haiku though.
* Enabled the Settings... menu entry in the Settings window for access to
the SettingsWindow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27154 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4d3ebacc 01-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Argh! Forgot to svn add these files. Should have been part of last commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24716 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a178983df66aad5957fbc82fb596c74fa4d02e45 09-Sep-2011 Axel Dörfler <axeld@pinc-software.de>

Cleanup while I was searching for a bug that ended up being in the app_server;
the decorators now return non-sense as their frame, thank you Clemens!
* Got rid of Settings::CurrentSettings() - the get/store pair wasn't really
thread-safe anyway, as it always updated all fields, so settings could get
lost easily. The mechanism is still being used in the settings window, though.
* Introduced some getters/setters for the settings that work on the message
directly which simplifies some code.
* Minor style cleanups.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42732 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e65a6eb2e02c3b50ee594733f16b313562eaaf9c 28-Sep-2010 Stephan Aßmus <superstippi@gmx.de>

* Give some options for subtitle placement and size.
* Optimize subtitle drawing when subtitles are to be
displayed at screen bottom versus video bottom, and
the subtitle frame does not intersect the video. In
that case we only need to draw it when it changes
(or is to be removed). Fixed the dead-lock problem
in a nicer way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38841 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 341ea11eb304738c351755be9d15ab232e4a037a 12-Sep-2010 Stephan Aßmus <superstippi@gmx.de>

Implemented enlarging controls in full-screen mode, it's optional
and the setting defaults to "on".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38610 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f907fa59c315a272572712723574066be3a77513 16-Nov-2009 Stephan Aßmus <superstippi@gmx.de>

Work in progress for storing some window position/size related settings of
the first window, and restoring them for audio content.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34075 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ac6b0fc9d204ee771eeae68f0f00cddc53adf77a 11-Oct-2008 Stephan Aßmus <superstippi@gmx.de>

Remember the last used file panel folder. Also remember the folder even
if the user cancled the file panel. Some improvements to the SettingsMessage
and some more helpful comments here and there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27986 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 613ecaf5f9eb4aaf399917fb239979e5256fb274 22-Aug-2008 Stephan Aßmus <superstippi@gmx.de>

* Added the implementation behind the "Use overlays if available" and "Scale
videos smoothly in non-overlay mode" options.
* Disabled the other controls in the SettingsWindow which are not yet
implemented.
* Enable and disable Revert button according to settings state.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27157 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 26e9cdb72cc4f788f60ca38dc3309e62b8c6247b 22-Aug-2008 Stephan Aßmus <superstippi@gmx.de>

I shouldn't push my luck too much, so I'm commiting these WIP changes:
* Removed unmaintained makefile.
* Renamed TPreferences to SettingsMessage, which better describes the beast.
* Renamed setter functions in SettingsMessage for more convenient use.
* Added getter functions which take a default value argument that is returned
when there is no value for the given key.
* Cleanup in Settings.[h|cpp], made things simpler and more convenient. Removed
redundant saving of the settings/message, which SettingsMessage already takes
care of. Added a global instance of the application settings.
* Some cleanup in FileReadWrite and Playlist.
* Reimplemented the SettingsWindow with the new layout API, the old code is
still in place for compiling for BeOS.
* Added two more check boxen for the overlay and bilinear scaling option I
intend to add eventually.
* Refactored the rest of the code in SettingsWindow to use the new global
settings instance and also support a Revert feature. All the new controls are
only available in Haiku though.
* Enabled the Settings... menu entry in the Settings window for access to
the SettingsWindow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27154 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4d3ebacc42d0f103b79c134a0f6ce2fdcd9a0ba8 01-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Argh! Forgot to svn add these files. Should have been part of last commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24716 a95241bf-73f2-0310-859d-f6bbb57e9c96