Commit Graph

1213 Commits

Author SHA1 Message Date
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
inmarket
15e7342fd7 Updates to focus. 2015-08-16 21:53:47 +10:00
inmarket
377fe644d1 Coding style, comments, duplicate symbols and other minor fixes 2015-08-16 14:30:25 +10:00
Joel Bodenmann
c451880d80 Adding keyboard event handler to checkbox widget 2015-08-16 01:41:33 +02:00
Joel Bodenmann
9915fb625e Adding keyboard event handler to button widget 2015-08-16 01:36:33 +02:00
Joel Bodenmann
63c5e4949f Adding KEYUP events 2015-08-16 01:35:46 +02:00
Joel Bodenmann
bd353d37e3 Typo 2015-08-16 01:24:18 +02:00
Joel Bodenmann
ef813f44d3 Improving doxygen 2015-08-16 00:42:22 +02:00
Joel Bodenmann
668b161f0e Adding color to widget style for focused widgets 2015-08-14 23:51:28 +02:00
Joel Bodenmann
755b7a45ab Adding missing break statement 2015-08-14 23:42:49 +02:00
Joel Bodenmann
7f70789bc3 Adding border option to TextEdit widget 2015-08-14 21:12:56 +02:00
Joel Bodenmann
f7075e25ed More work on the TextEdit 2015-08-14 20:48:41 +02:00
Joel Bodenmann
608290a261 Adding more font metrics 2015-08-14 19:36:01 +02:00
Joel Bodenmann
668257c872 Prevent buffer overflow 2015-08-14 18:55:36 +02:00
Joel Bodenmann
03bc3f25a7 CleanUp 2015-08-14 18:53:43 +02:00
Joel Bodenmann
2c99e8c686 Adding handler for the DELETE button to the TextEdit widget 2015-08-14 18:53:05 +02:00
Joel Bodenmann
b828bf567b Optimizing string shift operations by using memcpy() 2015-08-14 18:47:55 +02:00
Joel Bodenmann
fcaa429729 First working Version of TextEdit widget 2015-08-14 18:33:16 +02:00
Joel Bodenmann
5163381177 Adding TextEdit rules 2015-08-14 16:24:05 +02:00
Joel Bodenmann
898a423479 Fixing doxygen 2015-08-14 15:09:41 +02:00
Joel Bodenmann
95d34760e8 Cleanup 2015-08-14 14:12:51 +02:00
Joel Bodenmann
9f5e19c151 First implementation of widget focus changing using the TAB key 2015-08-14 14:11:03 +02:00
Joel Bodenmann
e7e4f813e1 Adding gwinIsWidget() 2015-08-13 10:36:56 +02:00
Joel Bodenmann
3ba3be201c Adding gwinSetFocus() and gwinGetFocus() 2015-08-13 01:13:36 +02:00
Joel Bodenmann
37a088efb7 Compiler warning 2015-08-13 01:12:34 +02:00
Joel Bodenmann
5fb63ebed6 Doxygen fix 2015-08-13 00:37:39 +02:00
Joel Bodenmann
765b1df8c5 Working on widget focus (not finished yet) 2015-08-12 23:28:59 +02:00
Joel Bodenmann
f1ede211fb First (simple) implementation of textbox behavior 2015-08-12 20:22:34 +02:00
Joel Bodenmann
46ba0420c3 Adding TextEdit dummy widget (not implemented yet) 2015-08-12 19:36:14 +02:00
Joel Bodenmann
213013e68e Codingstyle 2015-08-12 19:35:44 +02:00
Joel Bodenmann
16d213d4ed Passing keyboard events to widgets (not finished yet) 2015-08-12 17:32:38 +02:00
Joel Bodenmann
cf06739b4e Fixing include 2015-08-10 18:54:53 +02:00
inmarket
c1d239bbda Significant improvements in alternative scheduler.
Isolate the generic thread and heap code
Tidyup's.
Generic threading now working for x86, cortex-m0->m7.
2015-07-16 19:02:59 +10:00
Joel Bodenmann
73da22e110 Fixing syntax errors in order to be able to compile scheduler code (still not working but compiling) 2015-07-12 13:56:37 +02:00
Joel Bodenmann
185cb998e2 Some fixes in ASM code 2015-07-12 13:08:48 +02:00
inmarket
57156a3636 Merge branch 'master' into Alternate_Raw32_Scheduler 2015-07-08 13:57:00 +10:00
inmarket
8318e8dc29 Provide better access to compiler optimisations for the raw scheduler 2015-07-08 13:53:54 +10:00
inmarket
9d62e631cf Allow a zero sized clipping region 2015-07-08 13:34:53 +10:00
inmarket
93e5235124 Merge branch 'master' into Alternate_Raw32_Scheduler 2015-07-08 13:22:58 +10:00
inmarket
0d54fae731 Correction of stackbase for mingw32 2015-07-08 13:14:42 +10:00
inmarket
f2ee56661c Alternate Raw32 scheduler.
Works for main thread + one other thread.
Currently fails with 2 other threads.
STM32M4 code tested and working.
2015-07-08 09:53:16 +10:00
inmarket
96bed0cd75 Fix single file make issues with GOS Raw32 on the Win32 platform. 2015-07-08 09:50:15 +10:00
inmarket
af2b0f29b5 Merge remote-tracking branch 'origin/master' 2015-07-08 09:31:22 +10:00
inmarket
d7624145b6 Spelling fixes. 2015-07-08 09:31:10 +10:00
Joel Bodenmann
e99cc3cd8b Fixing stack alignment issue in Arduino scheduler 2015-07-08 01:22:36 +02:00
Joel Bodenmann
6d329077bc Fixing stack alignment issue in RAW32 scheduler 2015-07-08 01:13:35 +02:00
Joel Bodenmann
986aad310a Doxygen update 2015-07-05 13:20:16 +02:00
Joel Bodenmann
5992d06dee Improving progressbar doxygen 2015-07-05 11:53:32 +02:00
Joel Bodenmann
380c41b766 Improving Pixmap API 2015-07-03 17:08:28 +02:00
Joel Bodenmann
81850ade15 Improving type definition inclusion in RAW32 port 2015-07-02 21:57:14 +02:00
Joel Bodenmann
3e021b9da3 Fixing ChibiOS/RT 3.x port 2015-06-19 19:55:40 +02:00
Joel Bodenmann
e9c03c857e Improvind doxygen 2015-06-18 15:38:34 +02:00
Joel Bodenmann
1442ed05a9 Improving label documentation 2015-06-18 01:16:25 +02:00
inmarket
ccde54722f Added ability to compile ugfx as a single file (excluding driver and board files).
Simply compile src/gfx_mk.c
2015-06-08 14:14:40 +10:00
inmarket
aa7ebf9c26 Add the license to the makefiles 2015-06-08 12:11:37 +10:00
Joel Bodenmann
48839a00aa Fixing doxygen 2015-05-16 20:46:45 +02:00
Joel Bodenmann
ee8aa6ca4e Fixing doxygen 2015-05-16 20:33:31 +02:00
Joel Bodenmann
37ab4ec1cd Fixing doxygen 2015-05-16 20:17:50 +02:00
inmarket
1a09f151e2 Fix to LLD driver color conversions. 2015-05-10 17:12:00 +10:00
inmarket
0501f24f47 Add the ability to change a gwin list selection via the api
Add the ability to scroll a particular item into the current view.
2015-04-30 11:32:10 +10:00
inmarket
83c0eb3526 Workaround for dynamically sized labels crashing sometimes when the text size is changed.
A real fix requires more work on the redraw handler.
2015-04-29 22:43:47 +10:00
inmarket
54d4f3d95b Remove superfluous forward definition on a container. 2015-04-29 22:18:01 +10:00
inmarket
a08f9d42fc Fix a bug in detecting the button area in a frame window 2015-04-29 18:32:12 +10:00
inmarket
1ce3f20fa4 Add GWIN virtual keyboard widget 2015-04-12 17:07:38 +10:00
inmarket
9c7dbd8d7e More GOS arduino files - oops missed them last commit. 2015-04-07 23:22:04 +10:00
inmarket
82cb03947c Add Arduino as a full GOS supported operating system (even though it is really just a special bare bones platform) 2015-04-07 23:21:19 +10:00
inmarket
beacfaa994 Fix in color conversions for some strange compilers that don't do macro expansion in the highest available integer format 2015-04-07 23:20:16 +10:00
inmarket
601fd6855d Add more pixel format support 2015-04-07 23:19:10 +10:00
inmarket
f44b1c6412 Small fix for scrolling 2015-04-07 23:18:32 +10:00
inmarket
a59327fbbf Fix misspelling of KEIL preprocessor directive. 2015-03-25 12:45:06 +10:00
inmarket
fe20965c3f More updates for Keil with raw32 GOS. 2015-03-18 10:26:35 +10:00
inmarket
1caabc3f75 Attempt to fix setjmp issues with the Kiel compiler. 2015-03-18 06:53:22 +10:00
inmarket
84ae564bfc Support ChibiOS V3 changes to the FileStream API 2015-03-11 00:16:09 +10:00
inmarket
dc4f706132 GFILE was not being initialised properly.
Added GFX_OS_EXTRA_INIT_FUNCTION and GFX_OS_EXTRA_DEINIT_FUNCTION macro's to enable special initialisation to occur being anything else happens.
2015-02-28 13:06:15 +10:00
inmarket
73ba2778ab Background images on GWIN containers had cx and cy interposed. 2015-02-28 12:05:04 +10:00
inmarket
9da63a2aaa Compile warning fix for GWIN tabset 2015-02-23 18:15:57 +10:00
inmarket
07a63f7143 Compile error and emulation errors for GFILE_NEED_STDIO 2015-02-21 09:23:33 +10:00
inmarket
5e0a0bfd9b Compile error fix for GFILE_ALLOW_FLOAT 2015-02-21 09:23:00 +10:00
inmarket
50cbdbc288 Big improvements to GWIN arrow button drawing.
Some symmetry issues fixed.
Now optionally support exact 45 degree arrow heads.
With 45 degree arrow heads if the height/width ratios are right a triangular button is produced.
2015-02-14 14:20:45 +10:00
inmarket
39459872b2 Fix pixel error rounding in gdispDrawConvexPoly().
The corrects strange gwin arrow button appearances for certain sizes.
2015-02-14 10:38:24 +10:00
inmarket
7c7459f1d2 Toggle fixes. 2015-02-14 09:16:28 +10:00
inmarket
143d9be295 Change ugfx startup logo to white so it shows up on monochrome displays 2015-02-07 23:33:02 +10:00
inmarket
e63fab2ace Update vararg macro's to C99 standard syntax. 2015-02-05 00:21:22 +10:00
inmarket
f12e847c30 Fix compiler warnings for some drivers 2015-02-05 00:20:37 +10:00
inmarket
adebde7a99 Fix multiple display/keyboard/mouse problem with some compilers. 2015-01-27 13:42:11 +10:00
inmarket
b9f53aa793 Add the ability to flash a gwin window/widget.
Only the button draws for checkbox's and radio's currently do anything about it.
Widget demo updated to show this on Checkbox 3 (the toggle button).
2015-01-25 17:40:34 +10:00
inmarket
b316263833 Implement a "Toggle Button" using a checkbox with a custom draw.
Updated the widgets demo to show this.
2015-01-23 17:57:13 +10:00
inmarket
fa8167b94d Big file rename to reduce problems with brain-dead IDE's that don't handle project file hierarchies well.
Naming is more consistent with the new scheme.
May affect some third party drivers (header file renames).
2015-01-21 17:26:24 +10:00
inmarket
8b221b803a Compile fix for default orientation with pixmaps. 2015-01-14 18:39:12 +10:00
inmarket
b68cfa0c29 Support dynamic displays at compile time, don't re-orient pixmaps at initialisation time. 2015-01-13 14:28:56 +10:00
inmarket
ef00cac45d Add support and demo for pixmaps (in memory drawing) 2015-01-13 13:50:46 +10:00
inmarket
221b8752b3 Oops - Error detection in the wrong place. 2015-01-08 19:52:31 +10:00
inmarket
87cca4f7a5 New keyboard driver interface with international keyboard support. 2015-01-07 13:20:23 +10:00
inmarket
128a3b972c New Tabset Widget.
Widgets demo updated to (optionally) use the new tabset.
2015-01-03 18:46:46 +10:00
inmarket
bc9d3a1305 Fix macro problems for gwinShow, gwinHide etc 2015-01-03 18:45:37 +10:00
inmarket
28d9da556a Small fix for a progressbar 2015-01-03 18:44:48 +10:00
inmarket
5a4e0b7b4d Fix a serious problem with moving and sizing containers, and some visibility issues 2015-01-03 18:44:27 +10:00
inmarket
da13b83737 Safety protection in creation of extended GWIN types. 2015-01-03 18:42:51 +10:00
inmarket
476d11d599 Fix serious bug in GTIMER. 2015-01-03 18:41:38 +10:00
inmarket
9ddf7c4284 Protect against NULL strings 2015-01-03 18:41:11 +10:00
inmarket
a5b80da207 Fix complaints with some ChibiOS versions and some compilers about TRUE/FALSE redefinition. 2014-12-31 12:27:04 +10:00
inmarket
16ebf86013 Fix 1 pixel display error in checkbox for text on left rendering.
Also add better comments to code.
2014-12-16 23:01:55 +10:00
inmarket
d7896289d1 Updates to the slider to fix positioning issues.
Also fixes negative ranges, ranges > 65536 and very small ranges.
2014-12-13 18:33:53 +10:00
inmarket
5bf2b8678a Extended slider events. Updated the demo to match.
Actually reduced code size :)
2014-12-06 15:48:47 +10:00
inmarket
4931f39a0d Syntax Error Fix 2014-12-04 21:41:34 +10:00
Joel Bodenmann
30b47f1581 Fixing wrong font name in DejaVuSans20_aa font 2014-11-29 11:13:44 +01:00
Joel Bodenmann
0718866107 Fixing bug in gdispGDrawRoundedBox() 2014-11-29 11:08:32 +01:00
Joel Bodenmann
c2bf62ff19 More doxygen fixes 2014-11-28 20:01:34 +01:00
Joel Bodenmann
c90879ec4b Doxygen fixes 2014-11-28 19:55:36 +01:00
Joel Bodenmann
8e54d01db1 Fixing Doxygen 2014-11-28 19:47:57 +01:00
Joel Bodenmann
b799e16689 GOS doxygen fix 2014-11-28 11:37:07 +01:00
Joel Bodenmann
ba85d77dda Fixing doxygen for GOS module 2014-11-27 22:59:28 +01:00
inmarket
260f83b94a Doxygen spelling fixes 2014-11-26 13:53:57 +10:00
inmarket
e6bf427775 Doc updates for multiple mouse support 2014-11-26 13:21:36 +10:00
inmarket
bd3a58ccfc Fix some extern structure definitions that cause problems with some compilers 2014-11-26 13:02:47 +10:00
Joel Bodenmann
e3776755a5 Stable release v2.2 2014-11-23 15:15:48 +01:00
Joel Bodenmann
af44bbc9d4 Fixing doxygen 2014-11-23 02:38:38 +01:00
inmarket
87242d0a6c Add MatrixFloat2D and MatrixFixed2D operations to GMISC.
Add polygon demo
2014-11-21 17:09:44 +10:00
Joel Bodenmann
bac62a3270 Fixing compiler error 2014-11-17 21:49:38 +01:00
Joel Bodenmann
fe976dac66 Fixing font names of newly added DejaVuSans20 and DejaVuSans20_aa 2014-11-17 21:42:03 +01:00
inmarket
fe00d3e090 Change the definition of the calibration load and save routines as per steved suggestion. 2014-11-15 15:22:09 +10:00
inmarket
a8d6aa0790 Fix compiler warnings. 2014-11-15 15:21:18 +10:00
inmarket
8ca6fad9fd Add DejaVuSans font in 20 point as a standard font 2014-11-15 15:20:47 +10:00
inmarket
599a163181 Spacing, comments and spelling mistakes 2014-11-15 15:19:46 +10:00
inmarket
bd041926b4 Allow a mouse driver to not return any results when it is polled. 2014-11-07 12:02:41 +10:00
Joel Bodenmann
edc254c080 Adding missing GWIN wrapper for ArcSectors functions 2014-10-28 00:20:11 +01:00
Joel Bodenmann
d4c68c5afe Adding GDISP_NEED_ARCSECTOR stuff that was missing 2014-10-27 23:54:20 +01:00
inmarket
105e50dcd4 Allow calibration to work in newmouse even if there is no text / font support. 2014-10-27 16:52:50 +10:00
inmarket
5b806ef66b Merge branch 'master' into newmouse 2014-10-27 16:48:19 +10:00
inmarket
3825cec8f8 Added new arc sector drawing routines (Thanks to steved for the inspiration).
Added demo to match.
2014-10-27 16:44:53 +10:00
Joel Bodenmann
eb84c817a2 Merge branch 'master' into newmouse 2014-10-26 14:58:05 +01:00
Joel Bodenmann
e5ce8486cd compiler warning 2014-10-26 14:57:57 +01:00
Joel Bodenmann
4e2894cbd8 Merge branch 'master' into newmouse 2014-10-26 13:42:03 +01:00
Joel Bodenmann
a99174b8c5 GWIN list toggle bug compile error fix 2014-10-26 13:32:48 +01:00
inmarket
386cbe90b8 New flag for newmouse driver use 2014-10-13 17:43:10 +10:00
inmarket
a61b4a7115 ChibiOS 3 error message update 2014-10-09 12:32:05 +10:00
inmarket
8e42404e7c Fixes bug with printf formatting of zero filled fields 2014-10-09 12:31:53 +10:00
inmarket
38b4af7e20 Newmouse updates to calibration routine 2014-10-09 12:30:19 +10:00
inmarket
a8f9151931 ChibiOS 3 error message update 2014-10-09 12:29:55 +10:00
inmarket
3e6c0348ae Fixes bug with printf formatting of zero filled fields 2014-10-09 12:29:26 +10:00
inmarket
ccf05e8c0a Fix bugs in newmouse framework 2014-10-07 21:52:00 +10:00
inmarket
4b348f43ad Update buildfonts.sh to match change to fonts.h 2014-10-06 15:57:37 +10:00
inmarket
df0a966fc2 Update buildfonts.sh to match change to fonts.h 2014-10-06 15:57:13 +10:00
inmarket
0118743a26 Merge branch 'master' into newmouse 2014-10-06 15:53:08 +10:00
inmarket
afc42bab03 Merge remote-tracking branch 'origin/master' 2014-10-06 15:52:36 +10:00
inmarket
63fd8ab89b Update support for ChibiOS v3 to the current repository.
Update Make system to match.
Add ability to make to a library rather than a program
Stop ignoring objcode invalid format errors
Multiple make tidy ups
2014-10-06 15:50:43 +10:00
inmarket
18c4a9f870 Update support for ChibiOS v3 to the current repository.
Update Make system to match.
Add ability to make to a library rather than a program
Stop ignoring objcode invalid format errors
Multiple make tidy ups
2014-10-06 15:50:19 +10:00
Joel Bodenmann
5427d3efe5 Fixing inclusion problem 2014-10-05 15:03:12 +02:00
Joel Bodenmann
8efdd2c514 /src/gos/gfx_* -> /src/gos/gos_* 2014-09-29 16:22:35 +10:00
inmarket
65315ac162 Merge remote-tracking branch 'origin/newmouse' into newmouse 2014-09-29 16:21:31 +10:00
inmarket
b7a89b2ada doxygen updates 2014-09-29 16:09:08 +10:00
Joel Bodenmann
32a4969b7d Merge branch 'newmouse' of bitbucket.org:Tectu/ugfx into newmouse 2014-09-29 08:08:36 +02:00
Joel Bodenmann
1e8a7ff6dd /src/gos/gfx_* -> /src/gos/gos_* 2014-09-29 08:07:43 +02:00
inmarket
a873d55173 doxygen updates 2014-09-29 15:58:44 +10:00
inmarket
611133cbc0 Merge branch 'master' into newmouse 2014-09-29 15:47:47 +10:00
inmarket
e2f3a68c3b Progress bar optimisation. 2014-09-29 15:46:34 +10:00
inmarket
3abbf8e1b2 Bug fixes for the OSX GOS layer 2014-09-29 15:46:08 +10:00
inmarket
e3545c55bf Bug fixes for the linux GOS layer. Also add POSIX semaphore implementation. 2014-09-29 15:45:44 +10:00
Joel Bodenmann
0253b7df49 some more doxygen fixes 2014-09-28 23:42:53 +02:00
Joel Bodenmann
8d7bbe7e45 some doxygen fixes (more coming) 2014-09-28 23:02:44 +02:00
inmarket
7cceda585d Fix newmouse compiler warning 2014-09-28 01:44:41 +10:00
inmarket
bbdc236967 Merge branch 'master' into newmouse 2014-09-28 01:42:56 +10:00
inmarket
2776d00e82 GOS updates to fix compile warnings on linux 2014-09-28 01:41:07 +10:00
inmarket
aa858131c0 Merge branch 'master' into newmouse 2014-09-26 18:36:10 +10:00
inmarket
0d35e6b6ae Another GDriver bugfix 2014-09-26 18:35:51 +10:00
inmarket
2d81114256 gdriver bugfix 2014-09-26 18:24:01 +10:00
inmarket
ca71163aa0 gdriver bugfix 2014-09-26 18:23:41 +10:00
inmarket
b42a2098eb Change to GDriver to support an initialisation parameter 2014-09-26 16:35:34 +10:00
inmarket
ff28a0aa37 Reorder initialisation to ensure gwin is initialised last 2014-09-26 16:35:16 +10:00
inmarket
174e60c76d GINPUT mouse updated - first working version of newmouse.
Note: drivers to be ported.
Note: not tested well yet.
2014-09-26 16:32:00 +10:00
inmarket
72d04f891b Change to GDriver to support an initialisation parameter 2014-09-26 16:29:52 +10:00
inmarket
8b1666e72f Reorder initialisation to ensure gwin is initialised last 2014-09-26 16:28:26 +10:00
inmarket
0e73d65e58 Additional GDriver call 2014-09-25 17:45:14 +10:00
inmarket
9f720b1f12 C decls on GDISP functions 2014-09-25 17:45:03 +10:00
inmarket
4886403bc6 Expose the GDISP_STARTUP_COLOR setting for the initial color of displays 2014-09-25 17:44:50 +10:00
inmarket
10dc968427 New mouse updates. Just need a driver now. 2014-09-25 17:44:16 +10:00
inmarket
33200c1a97 Additional GDriver call 2014-09-25 17:43:43 +10:00
inmarket
6b9ff5de2a C decls on GDISP functions 2014-09-25 17:43:05 +10:00
inmarket
5ee4290941 Expose the GDISP_STARTUP_COLOR setting for the initial color of displays 2014-09-25 17:42:11 +10:00
inmarket
32eb6ff830 Merge branch 'master' into newmouse 2014-09-17 09:47:48 +10:00
inmarket
3a520359a0 GDISP updates to match previous GDRIVER and multiple display updates 2014-09-17 09:34:08 +10:00
inmarket
16fbcdc0b5 Convert GDRIVER instance numbers to unsigned. 2014-09-17 09:33:07 +10:00
inmarket
c28c4645c0 FATFS and PETITFS compile error fix (caused by prior file renaming). 2014-09-17 09:32:09 +10:00
inmarket
036ad5d3dd SImplify the options for multiple displays.
This will also be more compatible with newmouse infrastructure
2014-09-17 08:45:40 +10:00
inmarket
676c416a9b More newmouse updates 2014-09-17 08:44:31 +10:00
inmarket
ffa03cb570 SImplify the options for multiple displays.
This will also be more compatible with newmouse infrastructure
2014-09-17 08:43:11 +10:00
inmarket
6f8845e86c More mouse updates - not working yet. 2014-09-16 10:06:59 +10:00
inmarket
3ff91d0c38 Merge branch 'master' into newmouse 2014-09-13 14:57:28 +10:00
inmarket
683ac0ab7f Fixes to gdriver to make uGFXnet displays work 2014-09-13 14:50:32 +10:00
inmarket
e758a60b10 Merge branch 'gdriver' into newmouse 2014-08-23 17:56:23 +10:00
inmarket
0c7c74112e GDRIVER now working for GDISP including multiple displays.
Still uses old GDISP driver model for now
Untested with uGFXnet.
Still to come: Input drivers etc
2014-08-23 17:55:42 +10:00
inmarket
339150c55f New gdriver module. 2014-08-23 13:02:58 +10:00
inmarket
8c953378ca Doco updates 2014-08-23 13:00:10 +10:00
inmarket
d1217112a4 Fix frame window logic bug and compile bug 2014-08-21 08:11:27 +10:00
inmarket
2b47a07086 Merge branch 'master' into newmouse 2014-08-20 17:44:40 +10:00
inmarket
0f3f8f68f8 Rename lots of files to help prevent compile time name conflicts. 2014-08-20 17:42:53 +10:00
inmarket
ecaf8b83f8 Create a generic GWIN event.
The frame now sends a GEVENT_GWIN_CLOSE event on closing.
Unfortunately some gwin events have had a field renamed in order to generalise the structure.
Demo's updated to match.
2014-08-20 12:18:27 +10:00
inmarket
3b21507274 GL3D GWIN window + demo 2014-08-20 01:36:33 +10:00
Joel Bodenmann
301f134b90 whitespaces 2014-08-18 17:10:56 +02:00
inmarket
c06bff3304 Merge branch 'master' into newmouse 2014-08-17 00:54:37 +10:00
inmarket
14075df698 Fix a bug that caused geventWait() to always fail if called with a timeout
Fix a bug that caused geventWait() to miss pending events,
2014-08-17 00:13:47 +10:00
inmarket
362c25f967 Update the simple container to support custom draws such as transparent client area or tiled image client area. 2014-08-16 23:35:50 +10:00
inmarket
045140a133 frame window fixes 2014-08-16 23:34:46 +10:00
inmarket
87c2793248 Update the frame window to use much less RAM and also to support transparent and tiled image backgrounds 2014-08-16 22:54:05 +10:00
inmarket
0fc1d5f033 Fix the window manager to reveal windows behind a window that is made invisible. 2014-08-16 22:51:59 +10:00
inmarket
5dd9e1dc35 Fix visibility issues associated with a window destroy. 2014-08-16 22:51:05 +10:00
inmarket
8e503470fe Add extra widget flags especially for widget flag range checking. 2014-08-16 20:44:21 +10:00
inmarket
75e1e7a5e2 Add GFILE support for PetitFS (a very tiny FAT implementation) 2014-08-15 02:22:02 +10:00
inmarket
9b570be049 Bug fix. Must close before freeing the structure. 2014-08-15 02:19:23 +10:00
inmarket
1105e38414 Separate GFILE into separate source files to prevent future name and include file conflicts. 2014-08-15 00:31:32 +10:00
inmarket
efa13a879d Move 3rd Party source to a new directory.
Rationalise Fatfs code and fix a couple of configuration issues.
2014-08-13 15:48:16 +10:00
inmarket
5460a923ab Merge branch 'master' into newmouse 2014-08-12 16:45:06 +10:00
inmarket
10902154ae GFILE: restructure files, add File Listing, add C String files
Fix compile error for ChibiOS BaseStreamFile based GFILES'.
2014-08-12 16:43:45 +10:00
inmarket
1012ab75a4 Adjust code styling to match all other code 2014-08-08 19:01:44 +10:00
Joel Bodenmann
e65b1db192 Adding prefix to port files to avoid file name conflicts on case insensitive systems 2014-08-08 10:46:42 +02:00
Joel Bodenmann
56f55af6ea FreeRTOS type definitions for versions older than 8 2014-08-08 09:47:41 +02:00
Joel Bodenmann
52f40d7618 Fixing compile bug for NATIVE image format 2014-08-07 23:11:44 +02:00
Joel Bodenmann
edb7d6c621 Merge branch 'master' of bitbucket.org:Tectu/ugfx 2014-08-07 22:57:31 +02:00
Joel Bodenmann
f94b496c0c Added optional transparency to container 2014-08-07 22:57:18 +02:00
inmarket
d15c63abdb Any visible window that obscures another window now prevents the underlying window from receiving mouse event. 2014-08-07 11:22:14 +10:00
inmarket
9826378b96 Operating System initialisation can now be turned off in gfxconf.h 2014-07-29 12:00:47 +10:00
inmarket
4ce658b022 Oops - add rawrtos into the makefile 2014-07-29 11:13:46 +10:00
inmarket
f08f35a9e4 Support for rawrtos real time operating system 2014-07-29 11:01:08 +10:00
inmarket
ed14e4ca56 Some improvements for the Kiel C compiler 2014-07-29 10:57:01 +10:00
inmarket
1d4d9b4c94 Rebuild GEvent.
It should be faster, have less contention problems, use less memory and allow reentrancy from a callback handler.
2014-07-16 16:44:19 +10:00
inmarket
949290c01d typo 2014-07-16 16:42:37 +10:00
inmarket
0a5bfdd6ec Fix compile warning 2014-07-15 16:38:33 +10:00
inmarket
0587e35169 Add widget tag support (and fix a couple of doxygen problems) 2014-07-15 16:38:13 +10:00
inmarket
679961a25e Try to prevent type definition conflicts with standard headers 2014-07-15 14:38:49 +10:00
inmarket
8c47f68f66 Only destroy the listener in a frame window if it actually was initialised. 2014-07-15 13:47:12 +10:00
inmarket
0e74c164c3 Merge branch 'master' into newmouse 2014-07-15 12:41:40 +10:00
inmarket
fdb3b86ee0 Thick line support is only available if Polygon drawing is available 2014-07-15 12:40:43 +10:00
Joel Bodenmann
1fe4bcde39 Added gwinDrawThickLine() wrapper for corresponding GDISP call 2014-07-11 20:41:50 +02:00
Joel Bodenmann
c8342a0d25 eCos: fixing gfxFree() routine 2014-07-11 19:07:47 +02:00
Joel Bodenmann
326e246b77 adding ecos port to makefile 2014-07-11 19:06:42 +02:00
inmarket
85fe4a9672 Merge branch 'eCos' 2014-07-07 11:19:23 +10:00
Joel Bodenmann
a675812b08 Merge branch 'master' of bitbucket.org:Tectu/ugfx 2014-07-05 16:00:07 +02:00
Joel Bodenmann
2cc1dd96ea doxygen fix 2014-07-05 15:55:45 +02:00
Joel Bodenmann
e4eba63f95 Frame widget doxygen fix 2014-07-04 23:53:50 +02:00
Joel Bodenmann
54a0387bd4 fixing doxygen typo 2014-07-04 00:23:12 +02:00
inmarket
cffba2c1c9 Merge branch 'master' into eCos 2014-07-03 17:33:50 +10:00
inmarket
7f9a894587 Missing gfxconf definitions for the RAW32 port 2014-07-03 17:28:20 +10:00
inmarket
92d972cfd8 First part new mouse infrastructure 2014-07-02 09:40:01 +10:00
inmarket
8a11eb71aa Merge branch 'master' into eCos 2014-07-02 09:36:41 +10:00
inmarket
1a2e98af96 Use the GFILE_NEED_NOAUTOSYNC for syncing in the write as well. 2014-07-02 09:36:00 +10:00
Joel Bodenmann
bd68d6a00a checkbox c++ fix 2014-06-30 14:27:33 +02:00
Joel Bodenmann
5c13e08e76 added gfileSync() and autosync feature 2014-06-29 16:15:46 +02:00
inmarket
e318ec02d6 Put back ffconf.h with a default configuration.
User can override by placing a ffconf.h in their project directory.
This works as the current directory is always checked for include files before the include path.
2014-06-28 16:07:58 +10:00
Joel Bodenmann
a46dfbc20b ffconf.h is now a template. User has to supply his own 2014-06-28 06:36:10 +02:00
Joel Bodenmann
31d85d16e7 fatfs update 2014-06-28 06:33:59 +02:00
Joel Bodenmann
65ea8205b5 Merge branch 'fatfs' 2014-06-27 19:01:59 +02:00
inmarket
a9f1520e02 Fatfs Cleanup 2014-06-27 23:04:01 +10:00
Joel Bodenmann
c2a27f3e7c working implementation with gfx syscalls 2014-06-27 16:16:42 +02:00
Joel Bodenmann
65602895a5 FatFS complete implementation 2014-06-27 06:10:18 +02:00
Joel Bodenmann
11e3d1fa22 first working FatFS implementation. Modes ToDo 2014-06-27 00:38:46 +02:00
Joel Bodenmann
b55fa551e3 macro typo 2014-06-25 23:04:44 +02:00
Joel Bodenmann
1785f32976 added ToDo list 2014-06-25 05:31:41 +02:00
Joel Bodenmann
f2bbe071f3 added fatfs/readme 2014-06-25 05:27:54 +02:00
Joel Bodenmann
b054a7220f initial implementation - untested 2014-06-25 05:23:57 +02:00
inmarket
dc0f291350 First cut eCos port 2014-06-25 00:51:05 +10:00
Joel Bodenmann
d7129e6058 adding fatfs directory 2014-06-24 05:56:13 +02:00
inmarket
16fba41d50 Added support for playing arbitrary format audio files with an intelligent audio processor like the VS1053 codec.
Demo added.
2014-06-23 18:44:50 +10:00
inmarket
c33fb2c4d5 Remove compiler warning 2014-05-30 12:45:19 +10:00
Joel Bodenmann
54221783a0 Merge branch 'master' of https://bitbucket.org/Tectu/ugfx 2014-05-30 02:57:40 +02:00
Joel Bodenmann
41a74191c1 fixing frame close button action 2014-05-30 02:57:30 +02:00
Joel Bodenmann
c65cdaed24 frame widget render improvements 2014-05-30 01:11:25 +02:00
inmarket
451f6a2ae0 Missing header file required for some OS's 2014-05-22 17:34:09 +10:00
inmarket
bc3ebd6ae9 GWIN: Make sure invisible windows are redrawn before visible windows.
Redrawing compile options made visible for the user project.
2014-05-22 09:35:36 +10:00
inmarket
34e23320b4 Significant changes to the window redrawing methodology.
Move and Resize should probably work for containers now
Still to be tested - nested containers, progressbar timers while redrawing its container, move/resize on containers.
2014-05-21 13:02:00 +10:00
Joel Bodenmann
0b204ed8e3 Reworking the GWIN doxygen documentation. 2014-05-20 18:05:38 +02:00
Joel Bodenmann
5c14057e33 gfxExit() fix for ChibiOS/RT 3.x 2014-05-19 22:43:39 +02:00
Joel Bodenmann
246b42c6eb Doxygen typo 2014-05-15 18:55:18 +02:00
inmarket
dfcd7e0e50 Bug fixes to sprintg() and fix to incomplete scang() implementation. 2014-05-12 13:25:54 +10:00
Joel Bodenmann
e28e572ea8 Progressbar GWIN_PROGRESSBAR_AUTO feature fix 2014-05-11 20:20:49 +02:00
Joel Bodenmann
870d0cbdc9 Doxygen fixes 2014-05-11 17:23:18 +02:00
Joel Bodenmann
6961a536e5 GFILE bug fix 2014-05-11 16:26:41 +02:00