-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make GUI colors and Font configurable - Added struct to hold values - Extracted default values to struct - Added try/catch block when opening font in ShowMessage, in case the font isn't found * Save and Parse GUI theme options - Use amiberry.conf for storing and parsing values - Better handling of the default values
- Loading branch information
Showing
5 changed files
with
194 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9c1cfcf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The values are defined in amiberry.conf as ;
gui_theme_font_name=AmigaTopaz.ttf
gui_theme_font_size=15
gui_theme_base_color=170, 170, 170
gui_theme_selector_inactive=170, 170, 170
gui_theme_selector_active=103, 136, 187
gui_theme_textbox_background=220, 220, 220
When you start/quit amiberry, it modifies amiberry.conf and removes these lines.
This might be expected behavior at the moment ~ just reporting it in case that's not the case ;)
9c1cfcf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the lines are not there in
amiberry.conf
, they will be saved when exiting with their default values.If they are there already, they will be read and applied on startup.
They should not be removed in any scenario... How did you see that?
9c1cfcf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either my git pull was premature, or, I forgot to put the new binary inplace -- in any event, all good and working as expected.