Commit Graph

1088 Commits (5502aef3e56db8665cba8885f4e5ef050f050f2e)

Author SHA1 Message Date
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
Joel Bodenmann 5a99092b79 Merge branch 'master' of https://bitbucket.org/Tectu/ugfx 2015-11-27 20:39:28 +01:00
Joel Bodenmann eaf0b19fb8 Adding support for NIOS-II platform 2015-11-27 20:39:23 +01:00
inmarket 0313756ea3 Add ability to emulate malloc() and free() to prevent nasty hard to find link errors from C library routines that need malloc 2015-11-27 10:15:46 +10:00
inmarket 3681542e24 Fix doco 2015-11-27 10:14:45 +10:00
inmarket fb7e7c6ea7 Fix compiler errors and warnings on image handling with multiple image formats turned on. 2015-11-25 12:25:04 +10:00
inmarket e5ec9415d1 Warning removal as supplied by woodstck 2015-11-25 07:29:34 +10:00
inmarket 24ba58e612 Fix from crteensy for Arduino when compiling with a strict(er) compiler 2015-11-25 07:29:00 +10:00
inmarket 870901880b Prevent naming conflicts when compiling multiple image formats with GFXSINGLEMAKE 2015-11-24 09:19:58 +10:00
inmarket c5a86757bd Make all include paths in ugfx relative.
The only include path now needed is for drivers (in particular GDISP drivers)
2015-11-21 19:27:08 +10:00
inmarket a69849177d Update and then move compiler specific code into its own file 2015-11-19 17:07:49 +10:00
Joel Bodenmann aa601cb875 Merge branch 'master' of https://bitbucket.org/Tectu/ugfx 2015-11-18 20:34:44 +01:00
Joel Bodenmann 7586685d07 Fixing comment 2015-11-18 20:34:27 +01:00
inmarket d7e5c9f606 Fix endian macro's 2015-11-18 09:59:31 +10:00
inmarket 461b0bf091 More compiler specific stuff 2015-11-18 09:59:11 +10:00
Joel Bodenmann 45174c4092 Fixing conflicting type qualifiers for ‘VirtualKeyboard_English1’ 2015-11-15 12:26:04 +01:00
Joel Bodenmann 511bdd7349 Removing superfluous paranthesis 2015-11-15 12:23:52 +01:00
Woody Hawthorne 9ea93ff8e5 Fix virtual keyboard 2015-11-15 20:01:22 +11:00
Woody Hawthorne c5daa2f62f Fix (potential) compiler warnings about redefining PI 2015-11-15 20:00:32 +11:00
Joel Bodenmann 10c047d0c0 Fixing typo in macros 2015-11-14 21:11:41 +01:00
Joel Bodenmann 14b5184d60 Fixing vertical center alignment issue when word-wrap is turned on 2015-11-14 19:42:58 +01:00
inmarket 849369ccec Fix compiler detection for Keil uVision V5 2015-11-12 18:43:20 +10:00
inmarket d403294cb4 More endian updates. Images should now work for any endian machine even strange ones. 2015-11-12 18:33:12 +10:00
inmarket f48b492303 Clean up endian support for images based on new system defines
Remove deprecated image functions
2015-11-11 19:20:10 +10:00
inmarket 1fa5677d44 Fix grammer error 2015-11-11 19:18:38 +10:00
inmarket 6019d0b9c9 More compiler define fixes 2015-11-11 19:18:15 +10:00
inmarket f2af4cf110 Add missing defines and move some config variables 2015-11-11 19:17:11 +10:00
inmarket 2efd207660 Revert the use of the new compiler defines as they are not autodetected correctly yet 2015-11-11 19:15:30 +10:00
Joel Bodenmann 54b76a7568 Fixing compiler errors for non-GCC compilers 2015-11-08 22:36:59 +01:00
Joel Bodenmann 15538841de Adding missing defines for GFX_COMPILER_ARMCC and GFX_COMPILER_KEIL in gos_options.h 2015-11-08 15:35:15 +01:00
Joel Bodenmann de75da8d73 Doxygen 2015-11-07 16:59:59 +01:00
Joel Bodenmann ff01cc0212 Adding GFX_COMPILER_ARMCC and GFX_COMPILER_KEIL 2015-11-07 16:54:10 +01:00
Joel Bodenmann 6397a56e0b Doxygen 2015-11-07 16:33:28 +01:00
Joel Bodenmann 778b23bdfd Fixing compiler errors for non-GCC compilers 2015-11-07 15:27:37 +01:00
Joel Bodenmann 5d81aa2487 Adding rendering functions to label widget to control text justification 2015-11-07 00:51:23 +01:00
Joel Bodenmann ea4cadec78 Revert "Adding justification parameter to gwinLabelCreate()"
This reverts commit e8a769c382.
2015-11-07 00:39:08 +01:00
Joel Bodenmann 636b6edf81 Revert "Adding gwinLabelSetJustification() as it costs basically nothing"
This reverts commit 98f3609470.
2015-11-07 00:39:02 +01:00
Joel Bodenmann e4c207b706 Comment fix 2015-11-06 22:53:07 +01:00
Joel Bodenmann 98f3609470 Adding gwinLabelSetJustification() as it costs basically nothing 2015-11-06 22:52:50 +01:00
Joel Bodenmann e8a769c382 Adding justification parameter to gwinLabelCreate() 2015-11-06 22:47:42 +01:00
Joel Bodenmann c2b7e1bd41 Adding missing GDISP_NEED_CLIP around clipping call in list widget renderer 2015-11-06 20:59:31 +01:00
inmarket 90a65c1673 Move the stub font include files so that user projects with custom fonts in the old format will work. 2015-11-06 07:59:32 +10:00
inmarket 383be6964e GTimer fix for fast tick rate systems 2015-11-05 17:08:00 +10:00
inmarket 32da19db12 Add support for a PreInit Routine to allow early hardware initialisation 2015-11-05 17:07:23 +10:00
Joel Bodenmann 659901a90d Adding missing default value for GFX_NO_INLINE 2015-11-04 15:58:54 +01:00
Joel Bodenmann b276bd7a4b Merged in woodyhawthorne/ugfx (pull request #19)
Fixing bug created by commit [86aef59]
2015-11-04 06:14:23 +01:00
inmarket 583b314db2 Fix compiler errors for non-gcc compilers. 2015-11-04 15:05:47 +10:00
inmarket 1ed7559ef0 Handle antialiased font drawing when using word-wrap 2015-11-04 15:05:16 +10:00
Woody Hawthorne 8c701eeda1 Fixing bug created by commit [86aef59] 2015-11-04 15:29:52 +11:00
Joel Bodenmann 07bf8a37f9 More doxygen improvements 2015-11-03 22:05:04 +01:00
Joel Bodenmann 86aef5990a Doxygen (documenting each built-in rendering function for widgets) 2015-11-03 20:39:16 +01:00
Joel Bodenmann de149299ae Adding support for ChibiOS/RT 3.x to console widget streams 2015-11-02 21:47:55 +01:00
Joel Bodenmann 615819441b Fixing previously introduced bug in gdispDrawStringBox() 2015-11-02 12:25:24 +01:00
Joel Bodenmann 58f6e0452e Fixing compiler warnings 2015-11-02 12:24:13 +01:00
Joel Bodenmann 4a860eb079 Fixing bug in mouse/touch calibration code
Thanks to AndreR
2015-11-02 12:20:19 +01:00
Joel Bodenmann 2dcd3509c9 Fixing word-wrap 2015-11-02 09:26:32 +01:00
Joel Bodenmann 69de17687c Fixing compiler warnings
pull-request sent to upstream
2015-10-30 16:40:08 +01:00
Joel Bodenmann 051b3a9acc Doxygen 2015-10-30 15:39:18 +01:00
Joel Bodenmann ee2b82271d Adding word-wrap support for gdispDrawStringBox() and gdispFillStringBox()
Thanks to Koryagin Dmitry for this contribution
2015-10-30 15:37:55 +01:00
Joel Bodenmann fcd6318153 Adding missing GFX_USE_OS_RAWRTOS default value 2015-10-29 11:20:22 +01:00
Joel Bodenmann cac22ffe0f Documentation 2015-10-29 11:19:00 +01:00
Joel Bodenmann 83cdbf4fe1 Fixing gfxThreadCreate() call for the GTIMER thread because not all GOS implementations actually create a stack when using DECLARE_THREAD_STACK (eg. the CMSIS RTOS port) 2015-10-26 15:13:34 +01:00
inmarket ed67f4832e Another CMSIS fix 2015-10-26 23:08:38 +10:00
inmarket 267178254d Another attempt to get CMSIS semaphores correct. 2015-10-26 23:04:51 +10:00
inmarket bc32c99d1a CMSIS semaphore fix 2015-10-26 18:39:19 +10:00
inmarket 93c0ce25fe Remove superfluous file 2015-10-26 18:38:57 +10:00
Joel Bodenmann ccd83187fa Fixing Mutex and Semaphores for CMSIS RTOS 2015-10-25 22:10:00 +01:00
Joel Bodenmann 96a912bbc0 Adding missing defines for CMSIS and Keil OS 2015-10-23 14:31:51 +02:00
inmarket 00aeab86eb Merge branch 'master' into Keil 2015-10-23 18:28:42 +10:00
inmarket 48a9d334b7 Replace all inline definitions with GFXINLINE 2015-10-23 18:24:49 +10:00
inmarket 17c940423b More thread return fixes 2015-10-23 18:23:57 +10:00
Joel Bodenmann 83e51779ed Adding new THREAD_RETURN macro to other ports 2015-10-23 17:22:05 +10:00
Joel Bodenmann e6867c4e48 Fixing compiler warning/error 2015-10-23 17:18:42 +10:00
Joel Bodenmann 29251f33bd Merge branch 'master' into Keil 2015-10-21 14:37:42 +02:00
Joel Bodenmann 506355309e Fixing more inlinings 2015-10-21 14:10:23 +02:00
Joel Bodenmann 65fb1ca5ee Fixing compiler warnings/errors 2015-10-21 10:08:49 +02:00
Joel Bodenmann dcd8e588fc Adding THREAD_RETURN macro to GTIMER thread 2015-10-20 20:07:25 +02:00
Joel Bodenmann 592ee0f312 Merge branch 'master' into Keil 2015-10-20 20:01:41 +02:00
Joel Bodenmann fd7e047bf8 Moving INLINE macro to gfx.h main file as inlined functions are also used outside of gdisp.h 2015-10-20 20:00:45 +02:00
Joel Bodenmann 117e26bffd Fixing wrong macro default value definition 2015-10-20 18:19:04 +02:00
Joel Bodenmann fbe7df3008 Merge branch 'master' into Keil 2015-10-20 13:39:04 +02:00
Joel Bodenmann 46619f60cd Adding new THREAD_RETURN macro to other ports 2015-10-19 22:29:35 +02:00
Joel Bodenmann 32eae60422 Compiler warnings 2015-10-19 22:25:21 +02:00
Joel Bodenmann 16d1323d59 Fixing compiler warning "assignment in condition" (ARMCC) 2015-10-19 22:22:50 +02:00
Joel Bodenmann 4b31f87fc8 Adding dedicated support for generic CMSIS RTOS and specific KEIL RTX 2015-10-19 22:22:13 +02:00
Joel Bodenmann 73b39a7d36 Updating KEIL port 2015-10-19 22:07:34 +02:00
Joel Bodenmann da2ee2d7ad Fixing compiler warning "assignment in condition" (ARMCC) 2015-10-19 22:04:30 +02:00
Joel Bodenmann 3d618f8a7a Adding boarder highlight if focused to checkbox widget 2015-10-19 10:07:05 +02:00
Joel Bodenmann 49c5300ccd Fixing checkbox keyboard handler 2015-10-19 07:24:30 +02:00
Joel Bodenmann 288e928ade Adding boarder highlight if focused to button widget 2015-10-19 07:19:42 +02:00
Joel Bodenmann 79dfee0806 Typo 2015-10-19 07:16:24 +02:00
Joel Bodenmann d4d9a1be98 Fixing compiler warning/error 2015-10-19 07:13:45 +02:00
Joel Bodenmann fa4abfcc90 Fixing compiler warning/error 2015-10-18 20:01:31 +02:00
Joel Bodenmann 1f8b5efc21 Fixing Keil RTOX port. Now compiling (untested) 2015-10-13 21:43:17 +02:00
inmarket 9d3fc8b36c Merge branch 'master' into Keil 2015-10-13 01:00:48 +10:00
inmarket 5cf81b6fbe Doco 2015-10-13 00:59:42 +10:00
inmarket 5e8e0b7744 Working TextEdit with on-screen keyboard (and real keyboard) 2015-10-13 00:58:31 +10:00
inmarket 92b0002918 First attempt at Keil CMSIS support 2015-10-12 20:52:42 +10:00
inmarket 52783f7cc4 Spacing fix 2015-10-06 12:10:59 +10:00
inmarket 80299276b7 Merge branch 'master' into TextEdit 2015-10-06 12:10:11 +10:00
inmarket ed946e24ab Improve RAW32 compatibility with other libraries 2015-10-06 12:03:51 +10:00
inmarket 64a184fc59 Fix compiler warning 2015-10-06 12:03:24 +10:00
inmarket 53cb1af757 Add extra font metrics 2015-10-06 12:02:58 +10:00
inmarket 25482f5c90 Doco improvement 2015-10-06 12:01:29 +10:00
inmarket 470868f51a More STM32F746-Discovery changes. 2015-10-06 01:13:11 +10:00
inmarket e699e549ac Another minor update
Also add new studio options file
2015-10-05 07:39:58 +10:00
Joel Bodenmann 3f7ded913d Fixing include 2015-08-27 14:13:08 +02:00
inmarket 682503e672 Another fix to gdriver 2015-08-18 07:40:14 +10:00
inmarket 2867d6b8f9 Another fix to gdriver 2015-08-18 07:39:33 +10:00
Joel Bodenmann 8a10ceb80b Merge branch 'master' into TextEdit 2015-08-17 23:24:30 +02:00
Joel Bodenmann 9a410b29e3 GDRIVER bugfix. Thanks to David. 2015-08-17 23:24:18 +02:00
Joel Bodenmann 02d493a346 Merge branch 'master' into TextEdit
Conflicts:
	docs/releases.txt
2015-08-16 17:23:05 +02:00
Joel Bodenmann 28a2d8ca79 Renaming GFX_NO_OS_INIT to GFX_OS_NO_INIT 2015-08-16 17:21:01 +02:00
inmarket 3fea023248 Add some keyboard widget support 2015-08-17 00:18:54 +10:00
Joel Bodenmann 058a873e9e Adding GWIN_FOCUS_HIGHLIGHT_WIDTH 2015-08-16 14:37:12 +02:00
inmarket a569bbfc1e Border fix 2015-08-16 22:20:53 +10:00
inmarket 8c3c536111 Another compile fix 2015-08-16 22:11:19 +10:00
inmarket af76c04767 Compile fixes 2015-08-16 22:05:32 +10:00