aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 15:40:27 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 15:40:27 +1000
commit330f891081dbd755063767a25f39c517fbe5c432 (patch)
tree99b3693a0f9bcca588b4a6ea51d50f3f6e564ef4 /demos
parent1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e (diff)
downloaduGFX-330f891081dbd755063767a25f39c517fbe5c432.tar.gz
uGFX-330f891081dbd755063767a25f39c517fbe5c432.tar.bz2
uGFX-330f891081dbd755063767a25f39c517fbe5c432.zip
Added type gThread to replace V2.x gfxThreadHandle
Diffstat (limited to 'demos')
-rw-r--r--demos/3rdparty/notepad-2/notepadApp.c2
-rw-r--r--demos/3rdparty/notepad-2/notepadApp.h2
-rw-r--r--demos/3rdparty/notepad-2/notepadCore.c2
-rw-r--r--demos/applications/combo/bounce.c2
-rw-r--r--demos/applications/combo/mandelbrot.c2
-rw-r--r--demos/modules/gos/threads_advanced/main.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/demos/3rdparty/notepad-2/notepadApp.c b/demos/3rdparty/notepad-2/notepadApp.c
index 3ce60db0..3b5d2cef 100644
--- a/demos/3rdparty/notepad-2/notepadApp.c
+++ b/demos/3rdparty/notepad-2/notepadApp.c
@@ -464,7 +464,7 @@ static DECLARE_THREAD_FUNCTION(notepadThread, param) {
void nSetColorScheme(NColorScheme sch) { nCurColorScheme = sch; }
NColorScheme nGetColorScheme(void) { return nCurColorScheme; }
-gfxThreadHandle nLaunchNotepadApp(void) {
+gThread nLaunchNotepadApp(void) {
return gfxThreadCreate(waNotepadThread,
sizeof(waNotepadThread),
diff --git a/demos/3rdparty/notepad-2/notepadApp.h b/demos/3rdparty/notepad-2/notepadApp.h
index 661aaaf2..55ec693e 100644
--- a/demos/3rdparty/notepad-2/notepadApp.h
+++ b/demos/3rdparty/notepad-2/notepadApp.h
@@ -45,6 +45,6 @@ void nSetColorScheme(NColorScheme sch);
NColorScheme nGetColorScheme(void);
-gfxThreadHandle nLaunchNotepadApp(void);
+gThread nLaunchNotepadApp(void);
#endif /* NOTEPADAPP_H_ */
diff --git a/demos/3rdparty/notepad-2/notepadCore.c b/demos/3rdparty/notepad-2/notepadCore.c
index ffe95d50..73a877a9 100644
--- a/demos/3rdparty/notepad-2/notepadCore.c
+++ b/demos/3rdparty/notepad-2/notepadCore.c
@@ -48,7 +48,7 @@ static DECLARE_THREAD_STACK(waDrawThread, NCORE_THD_STACK_SIZE);
static uint8_t nPenWidth = 1;
static uint8_t nMode = NCORE_MODE_DRAW;
-static gfxThreadHandle nThd;
+static gThread nThd;
static GHandle ncoreDrawingArea = NULL;
static GHandle nStatusConsole = NULL;
diff --git a/demos/applications/combo/bounce.c b/demos/applications/combo/bounce.c
index 12f95f61..7c77e478 100644
--- a/demos/applications/combo/bounce.c
+++ b/demos/applications/combo/bounce.c
@@ -35,7 +35,7 @@
static volatile gBool run;
static GHandle gh;
-static gfxThreadHandle thread;
+static gThread thread;
/**
* NOTE:
diff --git a/demos/applications/combo/mandelbrot.c b/demos/applications/combo/mandelbrot.c
index 866131e3..9299f7d8 100644
--- a/demos/applications/combo/mandelbrot.c
+++ b/demos/applications/combo/mandelbrot.c
@@ -32,7 +32,7 @@
static volatile gBool run;
static GHandle gh;
-static gfxThreadHandle thread;
+static gThread thread;
static void mandelbrot(float x1, float y1, float x2, float y2) {
unsigned int i,j, width, height;
diff --git a/demos/modules/gos/threads_advanced/main.c b/demos/modules/gos/threads_advanced/main.c
index dd4332ed..2f3a3b47 100644
--- a/demos/modules/gos/threads_advanced/main.c
+++ b/demos/modules/gos/threads_advanced/main.c
@@ -41,7 +41,7 @@
#include "gfx.h"
GTimer gt;
-gfxThreadHandle thd;
+gThread thd;
#if defined(WIN32)
#include <windows.h>