Added desktop_icon_label_button

Also reordered Theme Definitions to place related items together.
This commit is contained in:
Grizzly Adam 2018-02-20 17:11:24 -06:00 committed by Alexander Weber
parent b8957384c6
commit f33cbbe4e4

7
API.md
View File

@ -104,18 +104,19 @@ same as register_app, but the view flag is set. app_name and app_icon not necess
`laptop.register_theme(name, definitiontable)` - add a new theme. All parameters optional, if missed, the default is used
Definitiontable:
- `launcher_bg` Launcher background image
- `app_bg` Apps background image
- `app_bg` Apps background image, adds titlebar
- `titlebar_textcolor` Sets the color of text on app titlebar
- `exit_character` Sets the character that shows up in the close box, X is default
- `contrast_bg` dark background to place under white text elements that does not support textcolor
- `textcolor` Default text color for buttons and labels. For buttons the major_textcolor and minor_textcolor supported
- `back_button` Back Button image
- `exit_button` Exit button image
- `app_button` App button background in launcher
- `desktop_icon_label_button` Background texture for icon text. Black, grey and white are supplied
- `major_button` Major (highlighted) button image
- `minor_button` Minor button image
- `node_color` Palette number to set if the node is paramtype2 = "colorfacedir"
- `taskbar_clock_position_and_size` Set where the clock is positioned and its size on the taskbar
- `exit_character` Sets the character that shows up in the close box, X is default
- `titlebar_textcolor` Sets the color of text on app titlebar
### Theme methods