Raphael Coeffic
54a87bc180
A bit more tuning
2021-06-14 06:35:12 +02:00
Raphael Coeffic
f8042ee2e0
[Menu] tuned look of menus with toolbar
...
- use DEFAULT_BGCOLOR for toolbar
- draw line around the complete menu
2021-06-14 06:35:12 +02:00
Raphael Coeffic
2b3df9aea9
[TextButton] added bgColorHandler
2021-06-14 06:35:12 +02:00
Raphael Coeffic
f24f218ebb
Default Theme facelift
2021-06-14 06:35:12 +02:00
Raphael Coeffic
57aa76c424
Default Theme facelift
2021-06-14 06:34:57 +02:00
Raphael Coeffic
26b15d4d43
Fixed issue with background on slide between view
...
If no background image has been set.
2021-06-14 06:32:47 +02:00
Raphael Coeffic
b53982eebe
Fix potential NULL pointer access
2021-06-14 06:31:28 +02:00
Raphael Coeffic
e4ee685a16
update libopenui
2021-06-12 21:33:14 +02:00
yaapu
5c722be9ff
fix INVERS in drawNumber
2021-06-11 15:34:57 +00:00
Raphael Coeffic
933dcf931a
Update libopenui
2021-06-10 15:37:54 +02:00
Raphael Coeffic
02897d134e
[Theme] drawProgressBar() should be given the total to avoid using only percentages
2021-06-10 15:28:09 +02:00
Raphael Coeffic
0d344bedd8
[color] Batch conversions
2021-06-10 13:17:49 +02:00
Raphael Coeffic
76a3886a03
Use EVT_KEY_FIRST(KEY_EXIT) instead of EVT_KEY_BREAK() in FormGroup
...
This prevents the TabGroup from catching the event first, and thus quit the complete page.
Resolves EdgeTX/edgetx#164
2021-06-09 07:22:33 +02:00
Raphael Coeffic and Raphael Coeffic
9b3cb9f72f
Updated libopen to master HEAD
2021-06-07 11:08:36 +02:00
Raphael Coeffic and Raphael Coeffic
589398a65c
Fixed focus issue with switch choices
2021-06-07 11:08:36 +02:00
Raphael Coeffic
d535136648
Merge branch 'menu-default-select'
2021-06-07 10:44:42 +02:00
Raphael Coeffic
20f026eef5
Added BSD license for the implementation of drawFilledTriangle()
2021-06-07 08:58:49 +02:00
Raphael Coeffic and Raphael Coeffic
65ce8b4602
Select the first element by default, even if hardware touch is supported
...
Resolves #57
2021-06-07 08:49:43 +02:00
Raphael Coeffic
8d02f3884a
[Menu] added setFocusBody()
2021-06-06 13:53:05 +02:00
Raphael Coeffic
880a514f18
[Menu] select the first element by default, even if hardware touch is supported
2021-06-06 12:21:50 +02:00
Raphael Coeffic
d1aac69843
Fixes file extensions for sound files
...
File names in special functions are stored without extension.
Resolves #137
2021-06-06 10:14:10 +02:00
Raphael Coeffic
9962dd0092
[FileChoice] Added extension stripping (optional)
2021-06-06 10:13:01 +02:00
Raphael Coeffic
f81639606e
Update libopenui
...
Use fix for drawBitmapPatternPie()
2021-06-06 07:49:25 +02:00
Raphael Coeffic
ae5a84cd6c
Fix drawBitmapPatternPie()
...
Masks are stored in 8-bit format, but drawAlphaPixel() uses only 4-bit alpha.
2021-06-06 07:39:17 +02:00
Raphael Coeffic and Raphael Coeffic
273aae8741
Updated libopenui after merge
2021-06-05 22:29:15 +02:00
olliw42 and Raphael Coeffic
d5d3bf5aa9
Add some new LUA graphics plotting functions
2021-06-05 22:29:15 +02:00
olliw42 and Raphael Coeffic
32cf4739e1
Added drawFilledTriangle()
2021-06-02 16:39:46 +02:00
Raphael Coeffic
5030939e4e
Added support for LUA pop-up functions
2021-05-30 18:25:35 +02:00
Raphael Coeffic
675773bcfb
Disable Theme::drawMessageBox()
2021-05-30 17:28:23 +02:00
Raphael Coeffic
8692796dd5
Add safeguards for drawText() & drawSizedText()
2021-05-30 17:27:48 +02:00
Raphael Coeffic and Raphael Coeffic
351173a509
Various fixes around flashing bootloader
2021-05-29 13:34:25 +02:00
Raphael Coeffic and Raphael Coeffic
c1979338ab
Fixed compiler warning (gcc 10)
2021-05-29 13:31:50 +02:00
Raphael Coeffic and Raphael Coeffic
15fad12b34
Fix compiler "deprecated" warnings
2021-05-29 13:31:50 +02:00
Raphael Coeffic
ff35b89543
Reset touch state before calling onTouchEnd()
...
In case something calls MainWindow::run() during the execution of this handler. Otherwise it will generate a second touch-end event, on whatever is on the screen at this moment.
2021-05-27 22:27:58 +02:00
Raphael Coeffic
d83f8e12fa
Catch touch-end in MessageDialog
...
Resolves #72
2021-05-24 19:22:19 +02:00
Raphael Coeffic
a3923c35b9
FileChoice: openMenu() after setFocus()
...
Otherwise, whatever is opened by the menu will loose the focus
2021-05-24 19:10:02 +02:00
Raphael Coeffic and Raphael Coeffic
efdf76a9f5
Updated libopenui
...
And fix the view main menu issue with this PR.
2021-05-24 16:52:38 +02:00
Raphael Coeffic
18025279c1
Use EVT_KEY_FIRST on Button
2021-05-23 08:48:17 +02:00
Raphael Coeffic and Raphael Coeffic
95aa02cedd
Switch the framebuffer address rather than using 2 LTDC layers
2021-05-23 08:19:56 +02:00
Raphael Coeffic
52b3388062
lcdRefresh() already does switch the layers, no need to do it 2 steps
2021-05-22 18:18:25 +02:00
Raphael Coeffic
ec87e40c56
Added line clipping unit tests & updated libopenui with Liang-Barsky line clipping
2021-05-22 16:59:34 +02:00
Raphael Coeffic
67ede465aa
Added Liang-Barsky Line Clipping
2021-05-22 16:57:04 +02:00
Raphael Coeffic
87ea446718
Update libopenui
...
Applies proper clipping to BitmapBuffer::invertRect()
2021-05-22 14:27:10 +02:00
Raphael Coeffic
e7b6fa412c
Apply clipping in BitmapBuffer::invertRect()
2021-05-22 14:25:09 +02:00
Raphael Coeffic and Raphael Coeffic
a33b114ae4
Shrink fonts
2021-05-21 22:33:01 +02:00
Raphael Coeffic
749d7d9037
Added 8bit PNG font loader
2021-05-21 20:59:33 +02:00
Raphael Coeffic
2d6ebc2ec1
Added loading png bitmaps from memory
2021-05-15 11:21:52 +02:00
Raphael Coeffic
f603207a8e
Added 8bit mask loading
2021-05-15 01:09:57 +02:00
Raphael Coeffic
cc5ae4d2a9
Small fixes
...
- no double SD card init
- removed "noHighlightCounter" warning
- wipe the screen buffers before setting up the layer (removes shadow image on boot)
2021-05-09 11:02:57 +02:00
Raphael Coeffic
6a492d9777
Silence compiler warnings
2021-05-09 09:29:11 +02:00