ctk-curses: Cleanup

This commit is contained in:
François Revol 2013-03-20 17:16:37 +01:00
parent 1ce1232d0f
commit b7601c3acb
2 changed files with 4 additions and 7 deletions

View File

@ -30,8 +30,7 @@ CONTIKI_TARGET_SOURCEFILES += tapdev6.c
endif
endif
CONTIKI_SOURCEFILES += $(CTK) ctk-conio.c
CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)
CONTIKI_SOURCEFILES += $(CTK) ctk-conio.c $(CONTIKI_TARGET_SOURCEFILES)
.SUFFIXES:

View File

@ -208,20 +208,18 @@ typedef unsigned short uip_stats_t;
#define CTK_CONF_MENUS 0
#endif /* PLATFORM_BUILD */
/* curses doesn't define this one */
#define COLOR_GRAY COLOR_CYAN
/* base background color for widgets */
#define COLOR_BG COLOR_BLUE
#define BORDERCOLOR COLOR_BLACK
#define SCREENCOLOR COLOR_BLACK
#define BACKGROUNDCOLOR COLOR_BLACK
#define WINDOWCOLOR_FOCUS COLOR_WHITE | COLOR_BG * 0x10
#define WINDOWCOLOR COLOR_GRAY | COLOR_BG * 0x10
#define WINDOWCOLOR COLOR_CYAN | COLOR_BG * 0x10
#define DIALOGCOLOR COLOR_WHITE | COLOR_BG * 0x10
#define WIDGETCOLOR_HLINK COLOR_CYAN | COLOR_BG * 0x10
#define WIDGETCOLOR_FWIN COLOR_WHITE | COLOR_BG * 0x10
#define WIDGETCOLOR COLOR_GRAY | COLOR_BG * 0x10
#define WIDGETCOLOR COLOR_CYAN | COLOR_BG * 0x10
#define WIDGETCOLOR_DIALOG COLOR_WHITE | COLOR_BG * 0x10
#define WIDGETCOLOR_FOCUS COLOR_YELLOW | COLOR_BG * 0x10
#define MENUCOLOR COLOR_WHITE | COLOR_BG * 0x10