Commit Graph
480 Commits
Author SHA1 Message Date
Raphael Coeffic 398969df19 [keyboard] Fix nullptr access while trying to find a suitable full screen window 2021-08-04 10:11:33 +02:00
Raphael Coeffic 8314bb645e [filechoice] Fixed extension-matching in case a file without extension is present 2021-08-04 07:15:17 +02:00
WismyYaoandRaphael Coeffic e487273ce9 Fix the out of bounds of array 2021-08-02 10:44:47 +02:00
Raphael CoefficandGitHub ba81224806 Merge pull request #9 from eshifri/eshifri/checkbox_fix
fix for #444: Accidentally altering a checkbox.
2021-07-31 18:11:17 +02:00
Raphael CoefficandGitHub 935a77b4bf Merge pull request #10 from eshifri/change-sign
Add +/- button to virtual number_edir keyboard.
2021-07-31 18:02:32 +02:00
eshifri 2b24cb2fc3 Add +/- button to virtual number_edir keyboard. 2021-07-28 20:38:11 -07:00
eshifri 9b061261e9 Force checkbox to be square. 2021-07-20 14:02:56 -07:00
eshifri b951dbf9de fix for #444: Accidentally altering a checkbox. 2021-07-19 15:17:31 -07:00
Raphael Coeffic 4aade1d0da [FileChoice] added missing include 2021-07-13 09:12:55 +02:00
Raphael Coeffic 3f6f488180 [FileChoice] eject duplicates 2021-07-13 08:42:34 +02:00
Raphael CoefficandGitHub 0b7b48a1e1 Merge pull request #7 from olliw42/owpr-specialchars
Add extra characters capability to TextEdit class
2021-07-12 07:46:21 +02:00
olliw42 381487d610 add extra characters capability to TextEdit class 2021-07-10 15:02:53 +02:00
Raphael CoefficandGitHub 7e07af844e Merge pull request #5 from eshifri/master
Fix for EdgeTX/edgetx#197
2021-06-23 06:41:18 +02:00
eshifri 3dc11d5bf8 Fix for #197 2021-06-22 16:51:19 -07:00
Raphael Coeffic dd02b4419c Removed obsolete EXPANDED 2021-06-20 09:31:20 +02:00
Raphael Coeffic 8a6d288cf6 [FormGroup] added removeField() to properly remove fields 2021-06-19 12:00:52 +02:00
Raphael Coeffic d4c23446e5 Fixed menu body height 2021-06-17 09:02:28 +02:00
Raphael Coeffic 6d2d740d95 Small fixes 2021-06-14 13:01:37 +02:00
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 b53982eebe Fix potential NULL pointer access 2021-06-14 06:31:28 +02:00
Raphael CoefficandGitHub 7c88dfd762 Merge pull request #4 from yaapu/yaapu/fix_invers
added a static method for number formatting as expected by drawText
2021-06-11 17:57:16 +02:00
yaapu 5c722be9ff fix INVERS in drawNumber 2021-06-11 15:34:57 +00: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 CoefficandGitHub b72d829e23 Merge pull request #3 from EdgeTX/fix-164
Use EVT_KEY_FIRST(KEY_EXIT) instead of EVT_KEY_BREAK() in FormGroup
2021-06-10 15:27:44 +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 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 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 9962dd0092 [FileChoice] Added extension stripping (optional) 2021-06-06 10:13:01 +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 CoefficandGitHub d476e6abb1 Merge pull request #2 from EdgeTX/draw-routines-added
Added drawFilledTriangle()
2021-06-05 21:28:02 +02:00
olliw42andRaphael Coeffic 32cf4739e1 Added drawFilledTriangle() 2021-06-02 16:39:46 +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 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 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 18025279c1 Use EVT_KEY_FIRST on Button 2021-05-23 08:48:17 +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 67ede465aa Added Liang-Barsky Line Clipping 2021-05-22 16:57:04 +02:00
Raphael Coeffic e7b6fa412c Apply clipping in BitmapBuffer::invertRect() 2021-05-22 14:25:09 +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 6a492d9777 Silence compiler warnings 2021-05-09 09:29:11 +02:00
Raphael Coeffic 1964d2ae8c Check boundaries on characters / fonts 2021-05-08 08:37:53 +02:00
Raphael Coeffic 5403ab4b00 Filter out invalid chars to avoid out-of-bounds memory access 2021-05-08 00:21:58 +02:00