- Status Closed
- Percent Complete
- Task Type Patches
- Category
- Assigned To No-one
- Operating System
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Opened by rotator - 2006-02-02
Last edited by linusnielsen - 2006-02-02
FS#2978 - Fix splash() color problems
There are two problems with the current splash
implementation:
1) splash() alters the background color and sets it to
LCD_DEFAULT_BG when finished. This overrides any
custom set background color (set in a plugin for
instance) and forces the programmer to explicitly reset
the background color after every call to splash().
2) splash() is hard coded to use LCD_LIGHTGRAY for the
background color (for visibility reasons I assume) but
still uses the current foreground color. If the
foreground color is a light color, the splash is
difficult or impossible to read.
This patch fixes these problems by hard coding the
splash foreground color to LCD_BLACK, ensuring that the
splash is always dark text on a light background. In
addition it saves then restores the original foreground
and background colors.
Comments would be appreciated.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Fixed warnings