37 #ifndef POKITTO_CONSOLE_H 38 #define POKITTO_CONSOLE_H 40 #include "Pokitto_settings.h" 68 #define MSG_INIT_FAIL 4 69 #define MSG_NOT_ENOUGH_MEM 5 70 #define MSG_GFX_MODE_CHANGE 6 71 #define MSG_GFX_MODE_INVALID 7 80 #define MSG_OBJECT2 16 83 #define MSOURCE_NULL 0 86 #define MSOURCE_SOUND 3 87 #define MSOURCE_TIMER 4 88 #define MSOURCE_BTNA 5 89 #define MSOURCE_BTNB 6 90 #define MSOURCE_BTNC 7 91 #define MSOURCE_BTNU 8 92 #define MSOURCE_BTND 9 93 #define MSOURCE_BTNL 10 94 #define MSOURCE_BTNR 11 95 #define MSOURCE_BATT 12 96 #define MSOURCE_APP 13 97 #define MSOURCE_USER 14 98 #define MSOURCE_COLLISION 15 101 #define CONS_OVERLAY 0x1 102 #define CONS_PAUSE 0x2 103 #define CONS_STEP 0x4 104 #define CONS_VISIBLE 0x8 108 #define CONS_TIMEOUT 20 109 extern uint16_t conscounter;
123 static uint8_t visible;
124 static unsigned char* font;
125 static void Toggle();
126 static void AddMessage(uint8_t, uint8_t, uint8_t, uint32_t);
127 static void AddMessage(uint8_t, uint8_t);
128 static void AddMessage(uint8_t,
char*);
129 static void AddMessage(uint8_t, uint8_t, uint32_t);
132 static void RemoveLast();
133 static void Previous();
136 static void PrintMessage();
142 static consmsg msgbuf[CONSOLEBUFSIZE];
143 static uint8_t conslast;
144 static uint8_t consfirst;
145 static uint8_t conspointer;
147 static uint16_t conscounter;
148 static uint16_t color;
159 #endif // POKITTO_CONSOLE_H
Definition: PokittoConsole.h:44
Definition: PokittoDisplay.h:136
Definition: PokittoBacklight.h:42
Definition: PokittoConsole.h:117