aboutsummaryrefslogtreecommitdiffstats
path: root/demos/3rdparty
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/3rdparty
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/3rdparty')
-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
3 files changed, 3 insertions, 3 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;