Commit Graph

312 Commits

Author SHA1 Message Date
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
inmarket
e7bc175ca0 Demos updated to remove now deprecated function gwinAttachMouse 2014-09-26 16:30:53 +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
90d4fe404d Clean up demo gfxconf.h files that incorrectly specify every option. 2014-09-17 08:45:06 +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
e586459a24 Clean up demo gfxconf.h files that incorrectly specify every option. 2014-09-17 08:41:34 +10:00
inmarket
fbc9ce3a45 Update gl3d demos so they run on real hardware (STMF407VGT6). Basically reduce the zbuffer size. 2014-08-20 22:52: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
fcbb66a939 Add gl3d gears demo 2014-08-20 13:55:17 +10:00
inmarket
99da5c825b Update gl3d spin demo 2014-08-20 13:54:54 +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
inmarket
65c8b96a3d Update the frame demo to reveal a surprise when the frame is closed. 2014-08-16 22:49:15 +10:00
Joel Bodenmann
052a8e033c Fixing color in gwin widgets demo 2014-08-08 14:04:49 +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
2127c61eee frame demo: Fix bug for displays with < 32 bit color 2014-05-30 12:46:40 +10:00
inmarket
25ce0ed7d6 Remove superflous entries in demo gfxconf.h 2014-05-30 12:45:48 +10:00
Joel Bodenmann
5389ff4ad0 Updated frame demo code 2014-05-30 03:56:51 +02:00
inmarket
52cfaf00cc Widgets demo: Unsetting of clip area is no longer required with the new GWIN redraw strategy 2014-05-22 09:36:34 +10:00
Joel Bodenmann
1edc0a2d5a Added containers_nested demo 2014-05-21 14:56:02 +02:00
inmarket
7afe4e78b7 Remove unnecessary window manager 2014-05-21 12:47:40 +10:00
Joel Bodenmann
9781c31f3b added missing gwinWidgetClearInit() to label and imagebox demo 2014-05-20 10:35:50 +02:00
inmarket
70c15a1d62 Bug fix to widgets demo. It should never have used <stdio.h> which is not available on many embedded platforms. 2014-05-12 13:27:07 +10:00
inmarket
2b01f18b03 Updates for small displays for the widgets demo. 2014-05-12 09:25:37 +10:00
Joel Bodenmann
f5765fab92 Adding GWIN container demo 2014-05-11 22:22:13 +02:00
Joel Bodenmann
4af82a95d4 updated gwin widget demo 2014-05-11 19:37:13 +02:00
Joel Bodenmann
32f1ec9b12 last try to get this shit right with that damned GWIN demo 2014-05-11 16:11:52 +02:00
Joel Bodenmann
52c1edc5ab Improve GWIN widget demo layouting 2014-05-11 16:07:21 +02:00
Joel Bodenmann
e8f0f8faa8 Improving look of GWIN widget demo 2014-05-11 16:01:50 +02:00
Joel Bodenmann
5025772260 Extending GWIN widget demo 2014-05-11 15:11:10 +02:00
Joel Bodenmann
9e6b210425 simplify gwin widgets demo code 2014-05-11 13:59:48 +02:00
inmarket
a25c56f8ed More freeflowing of the widgets demo for smaller displays. 2014-05-11 20:26:17 +10:00
inmarket
0219daa6eb Update widgets demo to use Containers.
Reflow the controls so they display better on smaller displays.
2014-05-11 20:12:16 +10:00
inmarket
95a3570c88 Remove NULLs except in comments as some compilers/OS's give strange definitions. 2014-05-11 13:10:50 +10:00
inmarket
bdbe78a8da frame fixes 2014-05-11 13:09:36 +10:00
Joel Bodenmann
2364f21333 GWIN frame demo - compiling but crashing 2014-05-10 13:26:13 +02:00
inmarket
9e8b38ba94 Add gwinClearInit() and gwinWidgetClearInit() to clear gwin initialisation structures.
Incorporate into demo's
2014-05-09 21:25:31 +10:00
Joel Bodenmann
81517afc37 Imagebox widget demo compiler warning fix 2014-05-09 10:39:27 +02:00
Joel Bodenmann
5979acc7f6 Introducing GWIN_PROGRESSBAR_AUTO for the automatic incremental function of the progressbar widget 2014-05-08 14:37:13 +02:00
inmarket
df4d275183 Updates to the widgets demo:
- Convert the image to a gif so it is smaller and has a transparent background
- Move opening the mouse to the beginning to stop calibration flashing the screen (ugly)
- Clean up extra defines in gfxconf.h - Conflicts with some drivers.
2014-05-01 16:42:35 +10:00
inmarket
5ada56e807 Fix list label in widget demo 2014-05-01 13:52:26 +10:00
Joel Bodenmann
3ca8a99c7e Adding gwin/label demo 2014-04-28 23:22:09 +02:00
Joel Bodenmann
8b4ca72036 Added gwinListEnableRender() 2014-04-26 03:27:19 +02:00
Joel Bodenmann
af3dae4f42 Fixing gwin demo 2014-04-26 03:07:31 +02:00
Joel Bodenmann
b7a34ad91b Updated gwin/widgets demo. Does now no longer use ChibiOS/RT logo 2014-04-24 03:44:29 +02:00
Joel Bodenmann
063ed86075 Adding gwin/imagebox demo 2014-04-24 03:33:53 +02:00
Joel Bodenmann
a34c0ded18 Updating progressbar demo 2014-04-23 23:56:22 +02:00
Joel Bodenmann
adff1a0c03 Updated progressbar demo 2014-04-23 23:43:54 +02:00
Joel Bodenmann
1fc155b6b0 Fixed progressbar in widgets demo 2014-04-23 23:41:50 +02:00
Joel Bodenmann
d15d3ee19b Added progressbar 2014-04-23 23:06:28 +02:00
Joel Bodenmann
0b08bb40ed Added smooth scrolling list to GWIN demo 2014-04-23 03:03:36 +02:00
Joel Bodenmann
9f35f0de7c whitespaces - widgets demo 2014-04-23 02:58:49 +02:00
Joel Bodenmann
414d3ea0b8 fixing demo gfxconf.h 2014-04-23 02:29:57 +02:00
inmarket
cd5abc421d Update audio play demo to play in a loop (easier for testing) 2014-03-30 19:07:17 +10:00
inmarket
343ddd7158 Final updates to GADC recording after fixing bugs in the ChibiOS AT91SAM7X ADC driver 2014-03-24 16:49:17 +10:00
inmarket
9919aeac89 Bug fixes and comments in audio recording demo 2014-03-24 10:08:51 +10:00
inmarket
c354639f7b Update GADC 2014-03-24 10:08:15 +10:00
inmarket
271f0c743f Updates to GADC to use new simpler gfx queued bufferring.
NOTE: code is still buggy (or the one and only driver is buggy).
2014-03-20 23:41:27 +10:00
inmarket
8b9d31ef90 Move queued buffer code from gaudio into gqueue 2014-03-20 23:33:32 +10:00
inmarket
e4d6884bca Cause the gaudio/gadc driver (currently broken) to include the GADC framework if it is included in the make. 2014-03-20 23:31:10 +10:00
inmarket
ea5a1b849d Combine GAUDIN and GAUDOUT into a single GAUDIO module.
Simplify GAUDIN (now GAUDIO RECORD) api.
Update audio demo's to match.
Port Win32 driver to new audio api.
2014-03-11 17:13:31 +10:00
inmarket
6d5a748f1c First GAUDOUT working demo. 2014-03-06 20:02:16 +10:00
inmarket
47cfa8d152 Fix incorrect additon of GFX flag on audio in oscilloscope demo 2014-03-06 20:01:03 +10:00
inmarket
2fb6697f2a Move gaudin oscilloscope demo to a new directory 2014-03-06 19:58:13 +10:00
inmarket
ccf05de456 Update console demo to test more console features. 2014-03-05 13:42:41 +10:00
inmarket
c110548507 Add support for ANSI like escape sequences to control display color and attributes in a GWIN console.
Updated the console demo to demonstrate this.
2014-03-04 14:14:15 +10:00
inmarket
14fa749f36 Fix doom demo to prevent ARM compilers throwing away part of the WAD file. 2014-02-19 08:07:21 +10:00
inmarket
37966ff16d Integrate the include files with each module. Simplifies structure of code. 2014-02-19 00:36:52 +10:00
inmarket
fe6708c7a2 Demo updates to fix compile issues. 2014-02-19 00:23:07 +10:00
inmarket
5f8ca40ef0 Remove replaced doom demo makefile 2014-02-19 00:20:30 +10:00
inmarket
6dd606fc2f Add demo makefiles and update example master makefiles to match. 2014-02-19 00:19:38 +10:00
inmarket
200f7ecf6d Updates to demo to work on ChibiOS and to test orientation. 2014-02-16 17:22:24 +10:00
inmarket
5edf7c956e On ARM gcc compiler it appears that non-referenced character arrays are "optimised" out (but not on x86).
This conflicts with the -b parameter in the file2c tool and leads to corrupted images on ARM platforms.
For now just remove the parameter when generating ROMFS files for an ARM platform.
2014-02-15 22:28:07 +10:00
inmarket
4d3a08f5cf Update image demo's to use GFILE ROMFS. 2014-02-07 18:44:32 +10:00
inmarket
010e0f0d62 Update demo's with images in them 2014-02-07 14:08:39 +10:00
inmarket
71818b2942 Listbox demo: Change default font to UI2, fix the gfxconf defines, remove surpurflous defines 2014-02-03 17:57:38 +10:00
Joel Bodenmann
6515373b2a removing casts of gfxAlloc() return value as that is the whole idea behind having a void pointer 2014-02-02 12:59:36 +01:00
Joel Bodenmann
55ced68fbd list demo & doc 2014-02-01 15:38:37 +01:00
inmarket
199b89e4dc Updates to console history. This now works well. 2014-01-17 18:36:28 +10:00
inmarket
fcc6c165b9 Break huge wad structure up for easier compiling. 2013-12-29 11:39:14 +10:00
inmarket
40b2bb6c24 Bug in I_sprintf in doom demo 2013-12-25 16:50:29 +10:00
inmarket
0345dadebf Fixes to DOOM demo to remove some operating system dependancies.
Also now has working input (although not perfect) - Needs mouse or touch.
Also now supports screen size doubling when the screen is significantly larger than doom's screen.
2013-12-24 19:58:18 +10:00
inmarket
39adfff2a9 demo - DOOM the game.
Runs but not quite functional yet (requires user input to be completed).
Shareware WAD file. Please read README.txt and DOOMLIC.txt
2013-12-24 01:00:14 +10:00
inmarket
301f871ee7 Update GAUDIN and GADC demos to new internal GWIN structures.
Also add support for signed sample formats.
2013-12-22 21:37:41 +10:00
inmarket
d9f02858fd Replace NULL's with 0 as NULL is not defined by the Raw32 GOS. 2013-12-21 13:21:59 +10:00
Joel Bodenmann
891f134bc1 Removed TDISP module 2013-12-11 14:50:09 +01:00
Joel Bodenmann
560f946cd9 Added progressbar widget (demos still to do) 2013-12-01 23:53:42 +01:00
inmarket
51dedb56d1 Move touch driver test to tools.
Also replace gwin buttons as they comptete with the test for touch events
2013-11-23 12:57:49 +10:00
inmarket
1dfbc0ab82 Comment fix 2013-11-23 12:55:23 +10:00
inmarket
db74e7c823 Remove orientation changes in demos because this is now handled by using GDISP_DEFAULT_ORIENTATION. 2013-11-16 01:51:32 +10:00
inmarket
1f99d5c9fa Add support for a default application orientation.
Also remove old unneeded GDISP_USE_CUSTOM_BOARD macro
2013-11-09 19:18:59 +10:00
inmarket
53408e2cb3 Fix incorrect naming of GMISC_INVSQRT_... macros. 2013-11-09 19:13:01 +10:00
inmarket
553dea5fcd Make the hardware depedant options clearer for the widgets demo 2013-10-29 01:11:25 +10:00
inmarket
db09e33dff Fix spelling error and migrate demo gfxconf.h changes to all demos including the new streaming and multiple display demos 2013-10-28 10:46:25 +10:00
inmarket
602cba0e62 Remove 3rd party boing demo as it is replaced by the new hardware independant GDISP streaming demo. 2013-10-28 10:44:05 +10:00
Joel Bodenmann
2cb8e08c52 uncommented GOS selection in GDISP and GWIN demos 2013-10-28 10:00:35 +10:00
Joel Bodenmann
36c55722dd updated GDISP and GWIN demos 2013-10-28 09:52:09 +10:00
Joel Bodenmann
2832f97fed fixed orientation stuff in widgets demo 2013-10-26 17:58:25 +02:00
inmarket
7ba622b797 Add initial orientation to the widgets demo. 2013-10-24 16:52:17 +10:00