Commit Graph

1205 Commits

Author SHA1 Message Date
Aram
e68c9c09e2 Oops 2017-07-01 21:18:17 +02:00
Aram
aae423fd7f Added gwinDetachToggle method interface 2017-07-01 21:18:13 +02:00
Arnout Engelen
0093551079 Indent src/ginput/ginput_keyboard.c with tabs
src/ginput/ginput_keyboard.c was already mostly indented with tabs, but
some lines that were indented with spaces made it in there. This causes
trouble with GCC 6 which can warn (or error) on misleading indentations.
2017-07-01 20:25:01 +02:00
9b73187100 Add compatibility with Visual Studio and make compile warning capabilities more cross platform 2017-06-30 19:43:51 +10:00
8561671cb8 Upgrade to from FATFS-0.10b to FATFS-0.13 2017-06-24 16:35:31 +10:00
5c84885995 Improve handling of streaming drivers with a setpos and a fillarea acceleration 2017-06-24 10:08:59 +10:00
64a8f8dde1 Fixing clipping issue with gdispGDrawString() 2017-05-24 10:52:44 +02:00
inmarket
23ceb054fc Fixed an issue on FreeRTOS where thread stacks were being created too large 2017-04-06 17:11:28 +10:00
inmarket
ee33f13f7e Another gwin concurrency fix 2017-04-01 17:36:52 +10:00
inmarket
252b3b918a Prevent GWIN drawing while deleting a window from the list 2017-04-01 13:21:38 +10:00
inmarket
d8c9ca184f Fix font baseline_x problem, decrease word-wrap stack usage, add text justification options 2017-03-11 14:39:53 +10:00
inmarket
9500ed2bcc Fix a bug that can cause large fonts to not be read correctly. 2017-03-11 14:23:27 +10:00
inmarket
7826664969 Make the uGFXMain() prototype always available 2017-03-04 17:35:39 +10:00
inmarket
3a0e49dabc Change the prototype for uGFXMain() 2017-03-04 17:01:45 +10:00
inmarket
5d8705b6e0 FEATURE: Significantly improved the FreeRTOS port
FEATURE: Added support for operating system initialisation in FreeRTOS
FEATURE: Added GFX_OS_CALL_UGFXMAIN configuration option to allow uGFXMain() to be automatically called
FEATURE: Added GFX_OS_UGFXMAIN_STACKSIZE configuration option to control uGFXMain() stack size
2017-03-04 15:02:55 +10:00
inmarket
8b4ca12a2d Updates to the FreeRTOS GOS port 2017-03-01 10:52:35 +10:00
6956df1652 Fixing an issue with word wrapping of strings containing dashes.
Strings do get wrapper correctly at dashes but the space to print the actual space has not been taken account of. This has now been fixed.
2017-02-21 08:50:57 +01:00
inmarket
5502aef3e5 Increase non-UTF8 font support to 0 to 255 rather than just the true ascii set 2017-01-20 09:23:06 +10:00
inmarket
b90055d2f9 Fixed extra dots when drawing anti-aliased fonts with wordwrap 2017-01-20 08:04:03 +10:00
12a0f2dd64 Adding GDISP_IMAGE_GIF_BLIT_BUFFER_SIZE configuration option 2017-01-10 10:48:54 +01:00
d3fb6b2cb9 Adding GDISP_IMAGE_PNG_Z_BUFFER_SIZE configuration option 2017-01-10 10:43:01 +01:00
ffe01aef80 Adding GDISP_IMAGE_PNG_FILE_BUFFER_SIZE configuration option 2017-01-10 10:39:07 +01:00
ff8aa09949 Adding GDISP_IMAGE_PNG_BLIT_BUFFER_SIZE configuration option 2017-01-10 10:28:42 +01:00
1cfcd71145 Removing obsolete code 2017-01-10 10:24:05 +01:00
844be18713 Improving doc 2017-01-10 10:20:38 +01:00
2b75db44a0 Adding GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE configuration option 2017-01-10 10:18:52 +01:00
inmarket
0e00642bfc Add gwinListItemSetText() 2017-01-09 11:40:48 +10:00
inmarket
c7cce84274 Add support for a user provided file system. 2017-01-09 10:25:30 +10:00
inmarket
9216504ce3 Ensure stack size produces an aligned stack on platforms where it matters 2017-01-09 10:24:49 +10:00
inmarket
def8fd488f Fix console recursion bug - Thanks to Oleg Gerasimov 2017-01-09 10:23:48 +10:00
inmarket
28f4ac22ce Fix window manager redraw problem with multi-tasking and large images 2017-01-09 10:22:55 +10:00
inmarket
6a30927a91 Fix Cortex m0 Raw32 scheduler.
Ensure 8 byte alignment of the stack for all ARM specific scheduler code.
2016-12-30 18:57:09 +10:00
inmarket
06de6f1931 Updates to Keil RAW32 CPU specific scheduler.
Tested working on CortexM7 and CortexM7 with FP.
2016-12-23 08:56:16 +10:00
baa20c4e60 Removing obsolete color parameters from gwinFillDualCircle()
Fixes T27
2016-12-15 11:31:50 +01:00
08fe2b1295 Doxygen fix 2016-12-14 15:15:45 +01:00
ca56c721a7 Adding #prama for Keil compiler to suppress "statement is unreachable" warning.
Commit r57667124 removed certain unreachable statements as Keil/ARMCC complains about those. However, most other compilers (including GCC) complain if a function with a non-void return type have no return statement in them. Therefore, that commit was reverted (Revert commit is r509eba89) and pragams are added to the Keil compiler configuration instead.
2016-12-14 15:05:45 +01:00
09eba89afd Revert "Remove some compiler warnings"
This reverts commit 76671249d6.
2016-12-14 15:00:43 +01:00
37f25677ec Adding gwinDrawThickArc() wrapper for gdispGDrawThickArc() function.
Fixes T18
2016-12-14 14:49:11 +01:00
52c7f15673 Adding gwinFillDualCircle() wrapper for gdispGFillDualCircle() function.
Fixes T16
2016-12-14 14:43:21 +01:00
8e62912446 Adding missing __cpp() wrapper macro to inline assembly for Keil RAW32 threading functions 2016-12-12 20:03:17 +01:00
0ab0e28bdb Cleaning up raw32 thread context switching functions (use consistent coding style) 2016-12-12 20:02:34 +01:00
d80bd18157 Fixing typo in comment 2016-12-12 19:06:50 +01:00
inmarket
f495b49f53 Update the Raw32 heap allocator to remove a memory merging bug.
The new code has less allocation overhead but memory blocks are now not tracked while allocated.
2016-12-12 20:01:27 +10:00
inmarket
bc7a2b05c1 Update Raw32 threads CLIB support to work with modern versions of the MINGW compiler 2016-12-12 19:59:47 +10:00
d9a8b2b259 Doxygen fixes 2016-12-11 18:07:33 +01:00
Corentin Barman
0b4b99163b Fixed drawThickArc function 2016-12-11 15:46:55 +01:00
Corentin Barman
bde1f0d2eb Merge branch 'master' of https://git.ugfx.io/uGFX/uGFX 2016-12-11 15:44:05 +01:00
inmarket
e927bff089 Fix GCC assembler broken during Keil port 2016-12-08 10:12:23 +10:00
inmarket
ad29f4fee0 Support for Keil compiler RAW32 CPU specific task switching for Cortex M0,1,3,4,7 2016-12-06 13:47:33 +10:00
inmarket
c1e2863078 Fix a bug in the Cortex M0 task switcher
Start of Keil compiler CPU specific switching
2016-12-06 12:16:19 +10:00
inmarket
4b61ae71fe Add the ability to display the detected compiler 2016-12-06 12:15:13 +10:00
inmarket
76671249d6 Remove some compiler warnings 2016-12-06 12:14:06 +10:00
Corentin Barman
2bcb2155ca Added a function to draw thick arcs 2016-11-27 19:06:53 +01:00
inmarket
d4adcdb017 Properly fix the problem causing the compiler warning 2016-11-24 16:48:08 +10:00
6c7b3716b3 Prevening compiler warning 2016-11-19 23:46:50 +01:00
inmarket
e0eacb846c Fixes to GEVENT 2016-11-19 19:39:04 +10:00
152e7e7e26 Adding gmiscHittestPoly() 2016-11-14 17:59:16 +01:00
inmarket
7f79b89eda Add support for adding fonts to the font list 2016-11-14 09:15:51 +10:00
Joel Bodenmann
82e1a667c5 Merge branch 'master' of CorentinB/uGFX into master 2016-11-13 16:28:18 +01:00
Corentin Barman
2823c3605a Fixed and improved the get_normal_vector function 2016-11-12 16:45:51 +01:00
b60383c03e Merge branch 'image_palette' 2016-11-11 19:09:34 +01:00
c91f42ec85 Fixing gdispFillDualCircle() wrapper macro parameters 2016-11-11 18:38:15 +01:00
73a110eed6 Adding API documentation for new image color palette functions 2016-11-11 18:35:09 +01:00
ebfe1e95a2 Minor changes & improvements on image color palletization handling 2016-11-11 18:28:48 +01:00
386e49480d Adding ability to modify the color palette of BMP images (untested) 2016-11-10 23:00:31 +01:00
Corentin Barman
ff65d4f220 Fixing bug in gdispGFillConvexPoly 2016-11-09 19:22:06 +01:00
inmarket
7f4bfaadd5 Merge branch 'master' of https://git.ugfx.io/uGFX/uGFX 2016-11-09 16:42:24 +10:00
inmarket
545a719db9 New dual circle drawing in GDISP 2016-11-09 16:41:44 +10:00
cd9e47d646 Merge branch 'master' of git.ugfx.io:ugfx/ugfx 2016-11-08 22:02:10 +01:00
4bafff3ea5 Removing old references to ChibiOS/GFX in documentation 2016-11-08 22:01:52 +01:00
inmarket
59917dbe1a Fix progressbar bounds checking and decrementing 2016-11-08 09:31:47 +10:00
0d0dfe5ddc Fixing GEVENT documentation 2016-11-04 00:02:16 +01:00
inmarket
b3ba618c2a Add protection for a font not being supplied. 2016-10-01 18:54:18 +10:00
inmarket
e3a0cff000 Fix 3 bugs in filled arc drawing...
1. Certain small angles would fill the inverse angle
2. Certain angles would draw a spurios horizontal line
3. Integer rounding improvements (now also improved for arc drawing)
2016-10-01 18:15:05 +10:00
inmarket
a5f27d61c6 Add the math header files when using FASTTRIG 2016-10-01 18:11:41 +10:00
inmarket
8603afd309 Fix keyboard handling for gwin checkbox and button 2016-08-24 17:48:41 +10:00
inmarket
ea0419c29b Tidy up function names in the gwin virtual keyboard 2016-08-24 17:48:09 +10:00
Oleg Gerasimov
fe84a7b9dd Fix formatting 2016-08-20 17:54:48 +03:00
Oleg Gerasimov
026379bafd Fix function SendKeyboardEvent name conflict in single file build 2016-08-20 17:52:30 +03:00
Oleg Gerasimov
09c5c31303 Fix clang build warnings 2016-08-20 17:52:09 +03:00
inmarket
02dbca0454 (void)var statements must come after any variable definitions in strict c 2016-08-13 11:46:32 +10:00
b9b555eae2 Fixing possible crash when GDISP_NEED_TEXT_WORDWRAP is enabled. 2016-08-13 00:49:19 +02:00
0c695b2471 Fixing crash when passing NULL to gwinSetStyle() 2016-08-07 20:38:55 +02:00
Andrew Hannam
868a272d6e Minor WM_Raise tidy up 2016-07-28 16:34:34 +10:00
f2cf8b9814 Fixing crash when loading GIF image without enough memory available 2016-07-27 13:08:18 +02:00
0abb8d3af3 Improving formatting of gfx_compilers.h 2016-07-27 01:03:03 +02:00
31c5f1efaa Adding support for IAR and EDG compilers 2016-07-26 16:14:14 +02:00
e67e314df4 Minor fix in slider widget documentation 2016-07-26 11:47:37 +02:00
1918d27460 Revert "Whitespaces"
This reverts commit c5d4eba3b5.
2016-07-25 17:47:46 +02:00
c5d4eba3b5 Whitespaces 2016-07-25 17:47:21 +02:00
Joel Bodenmann
718b7b3d5c Merged in mattbrejza/ugfx/gfile-deinit (pull request #27)
Adding code to close all open files in gfile deinit
2016-07-25 17:45:58 +02:00
1853f9d014 Fixing bug in WM_Raise() 2016-07-25 17:03:27 +02:00
Andrew Hannam
dded46b567 FIx bug where WM_Raise doesn't raise children if the parent is raised. 2016-07-25 19:26:28 +10:00
Matt Brejza
6832ae33df adding code to close all open files in gfile deinit 2016-07-19 22:38:35 +01:00
e5f69dbcf4 Adding Qt GOS port 2016-07-19 01:30:20 +02:00
Joel Bodenmann
5ad68305a7 Merged in mattbrejza/ugfx/btn-ellipse-fix (pull request #26)
fixing ellipse button drawing
2016-07-14 23:26:32 +02:00
2b279df17a Fixing comment 2016-07-14 18:57:51 +02:00
Matt Brejza
365b7ac702 fixing ellipse button drawing 2016-07-14 00:26:44 +01:00
9bd3dd6ce8 Fix clipping of gdispGFillString() 2016-07-13 12:54:13 +02:00
Martijn Stommels
ff6d26c70f Fix clipping of gdispGDrawString. 2016-07-11 13:26:27 +02:00
Andrew Hannam
9ac3c368b4 Add gwinPrintg() and fix null pointer handling in sprintg() 2016-07-10 10:42:21 +10:00
Andrew Hannam
ed9b268d5b Merged in mattbrejza/ugfx/list_toggle_scroll (pull request #23)
Added ability for List to scroll when navigted via toggle
2016-07-09 17:27:44 +10:00
Matt Brejza
47e0a03721 Enhancing toggle support for widgets 2016-06-25 17:15:57 +01:00
Matt Brejza
1cd0120480 Added ability for List to scroll when navigted via toggle 2016-06-25 16:23:59 +01:00
Nicolas Reinecke
1d2c15ce81 add support for ChibiOS RT 4 kernel 2016-06-01 12:09:34 +02:00
Andrew Hannam
f8dac95e93 Add support for GFILE_PETITFS_EXTERNAL_LIB and GFILE_FATFS_EXTERNAL_LIB 2016-05-27 10:29:49 +10:00
Kimball Johnson
c82efc428f Fix preprocessor elif, GFX_CPU == duplicated 2016-05-22 16:07:45 +00:00
238e19d77f Fixing bug where the list item count wasn't decremented when an item was removed 2016-05-21 17:39:38 +02:00
78e6f40cac Marking clang as a tested compiler 2016-05-14 17:05:38 +02:00
inmarket
c7fca71070 Add TinyC to the list of tested compilers 2016-04-25 14:56:18 +10:00
Joel Bodenmann
4797b7d1e2 Doxygen fix 2016-02-28 15:00:57 +01:00
Joel Bodenmann
6d2492aa93 Merge branch 'translation' 2016-02-27 14:35:57 +01:00
inmarket
583b022657 Add PNG image support - Does not support interlaced PNG's 2016-02-27 11:57:23 +10:00
inmarket
ecc7f94c88 Tidy up flags for custom redraw routines 2016-02-27 11:56:12 +10:00
Joel Bodenmann
b8ac430bce Replacing wrong define 2016-02-24 22:20:36 +01:00
Joel Bodenmann
4cd3ab4f29 Marking IAR as a tested compiler 2016-02-21 13:47:32 +01:00
Joel Bodenmann
3d78787b07 Adding missing default definitions of several macros 2016-02-21 13:32:32 +01:00
Joel Bodenmann
3a840480ed Move GWIN widget internal flags into the public header so that all the state flags are available for custom draw routines. 2016-02-18 00:17:38 +01:00
inmarket
addbf47bdb Move GWIN widget internal flags into the public header so that all the state flags are available for custom draw routines. 2016-02-17 20:00:23 +10:00
inmarket
0f0964da99 Change non-widget GWIN objects to always ensure their initial display is flushed before any other drawing takes place. 2016-02-13 13:04:30 +10:00
inmarket
71d72208b9 Updates to GWIN slider and progressbar Image draw routines to prevent overwriting. 2016-02-13 11:33:20 +10:00
inmarket
507fb2d57e Add GWIN_FRAME_KEEPONCLOSE flag to prevent destruction of a frame on close 2016-02-10 13:57:04 +10:00
Joel Bodenmann
249ffe781f Fixing bug in GTRANS 2016-02-09 12:53:38 +01:00
Joel Bodenmann
39c13d1645 Adding documentation to GTRANS 2016-02-08 00:03:30 +01:00
Joel Bodenmann
7b60003461 Preliminary version of GTRANS 2016-02-07 22:59:35 +01:00
Joel Bodenmann
6b07b2af74 GTRANS module skeleton 2016-02-07 21:57:03 +01:00
Joel Bodenmann
a76c176840 Revert "Setting the default heap size to 5120 bytes to avoid confusion due to linker errors when no malloc() / free() are available"
This reverts commit ed9a422d81.
2016-01-11 08:03:16 +01:00
Joel Bodenmann
ed9a422d81 Setting the default heap size to 5120 bytes to avoid confusion due to linker errors when no malloc() / free() are available 2016-01-08 21:42:12 +01:00
Joel Bodenmann
50a3048e59 typo 2016-01-08 07:31:22 +01:00
inmarket
4b891ebc04 Fix Gtimer stop bug. 2015-12-24 09:54:57 +10:00
inmarket
1971d889dc Fix for using raw32 on a known but unsupported cpu 2015-12-24 09:54:33 +10:00
inmarket
6b70d3a63f Fix enabled bug 2015-12-22 13:20:36 +10:00
inmarket
184f1e0d9b Cleanup 2015-12-22 13:20:05 +10:00
Joel Bodenmann
0211a32e1f Fixing 'progress' color of built-in widget styles 2015-12-19 00:56:53 +01:00
Joel Bodenmann
185c970da9 Compiler warning 2015-12-19 00:51:47 +01:00
Joel Bodenmann
a1c81e3449 Fixing textedit widget rendering 2015-12-19 00:51:18 +01:00
Joel Bodenmann
1e77535317 Removing obsolete code 2015-12-18 23:03:41 +01:00
Joel Bodenmann
e75f165bb4 Fixing progressbar widget rendering 2015-12-18 22:49:59 +01:00
Joel Bodenmann
0befb2ffce Fixing slider widget rendering 2015-12-18 22:48:36 +01:00
Joel Bodenmann
e500c8cd8e Fixing slider widget rendering 2015-12-18 22:47:33 +01:00
Joel Bodenmann
371e68beee Allowing the cursor to be set anywhere in the string of a TextEdit widget 2015-12-13 18:46:53 +01:00
Joel Bodenmann
682a5efc42 Removing superfluous struct declaration 2015-12-13 11:41:56 +01:00
Joel Bodenmann
a517873148 Removing default operating system to avoid confusion 2015-12-13 11:40:59 +01:00
Joel Bodenmann
b89ce7c7b3 Improving keyboard widget default renderer (thanks to TriZet) 2015-12-10 21:58:12 +01:00
Joel Bodenmann
a51e2b3511 Improving keyboard widget default renderer (thanks to TriZet) 2015-12-09 21:28:28 +01:00
Joel Bodenmann
922b19d91e using uint32_t instead of unsigned for GEVENT source listener flags 2015-12-08 11:31:02 +01:00
Joel Bodenmann
5bead36045 Fixing compiler errors for non-gcc compilers 2015-12-08 11:03:13 +01:00
Joel Bodenmann
fca2766ed8 Removing debugging code from NIOS port 2015-12-04 22:33:40 +01:00
Joel Bodenmann
7d040805c7 Removing debugging code from NIOS port 2015-12-04 22:33:12 +01:00
Joel Bodenmann
02e793e5db using GFX_PI internally to avoid issues with M_PI 2015-11-28 23:41:24 +01:00