aboutsummaryrefslogtreecommitdiffstats
path: root/demos/3rdparty/notepad-2/notepadApp.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-11-03 12:29:30 +1000
committerinmarket <andrewh@inmarket.com.au>2018-11-03 12:29:30 +1000
commit8a9ed5195b3345635533b6150b9303abbaf5adf3 (patch)
treeb57c4580a50b261e75a19e53124acb3670d47b6f /demos/3rdparty/notepad-2/notepadApp.c
parent7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d (diff)
downloaduGFX-8a9ed5195b3345635533b6150b9303abbaf5adf3.tar.gz
uGFX-8a9ed5195b3345635533b6150b9303abbaf5adf3.tar.bz2
uGFX-8a9ed5195b3345635533b6150b9303abbaf5adf3.zip
Tidy u gfxSem, gfxMutex and various Macros by converting to new types gSem, gMutex etc
Diffstat (limited to 'demos/3rdparty/notepad-2/notepadApp.c')
-rw-r--r--demos/3rdparty/notepad-2/notepadApp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/3rdparty/notepad-2/notepadApp.c b/demos/3rdparty/notepad-2/notepadApp.c
index 1f94070d..1bf914a6 100644
--- a/demos/3rdparty/notepad-2/notepadApp.c
+++ b/demos/3rdparty/notepad-2/notepadApp.c
@@ -2,7 +2,7 @@
* File: notepadApp.c
*
* This file is a part of the Notepad demo application for ChibiOS/GFX
- * Copyright © 2013, Kumar Abhishek [abhishek.kakkar@edaboard.com].
+ * Copyright 2013, Kumar Abhishek [abhishek.kakkar@edaboard.com].
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -70,7 +70,7 @@ static int selColorIndex = 0, selPenWidth = 1, tbMode = 1;
static NColorScheme nCurColorScheme;
-static DECLARE_THREAD_FUNCTION(notepadThread, param);
+static GFX_THREAD_FUNCTION(notepadThread, param);
// Custom drawing functions for the buttons
static void nbtnColorBarDraw(GHandle gh, gBool enabled, gBool isdown, const char *txt, const GButtonDrawStyle *pstyle, void *param) {
@@ -311,8 +311,8 @@ static void drawVButtons(void) {
gwinButtonDraw(H(btnFill));
}
-static DECLARE_THREAD_STACK(waNotepadThread, NPAD_THD_WA_SIZE);
-static DECLARE_THREAD_FUNCTION(notepadThread, param) {
+static GFX_THREAD_STACK(waNotepadThread, NPAD_THD_WA_SIZE);
+static GFX_THREAD_FUNCTION(notepadThread, param) {
GEventMouse *pem;
GEventGWinButton *peb;