more code cleanup

This commit is contained in:
Ruixiang Du
2020-06-17 11:38:29 +08:00
parent 44b89ee5f9
commit 2b9f7cc616
45 changed files with 580 additions and 129 deletions

View File

@@ -17,7 +17,7 @@
#include <ncurses.h>
namespace wescore
namespace westonrobot
{
struct NColors
{
@@ -62,6 +62,6 @@ struct NColors
static void WSetColor(WINDOW *win, int fg, int bg = BLACK);
static void WUnsetColor(WINDOW *win, int fg, int bg = BLACK);
};
} // namespace wescore
} // namespace westonrobot
#endif /* NCOLORS_HPP */

View File

@@ -12,13 +12,13 @@
#include <ncurses.h>
namespace wescore
namespace westonrobot
{
struct NShapes
{
static void DrawRectangle(int tl_y, int tl_x, int br_y, int br_x);
static void WDrawRectangle(WINDOW *win, int tl_y, int tl_x, int br_y, int br_x);
};
} // namespace wescore
} // namespace westonrobot
#endif /* NSHAPES_HPP */

View File

@@ -14,7 +14,7 @@
#include <ncurses.h>
namespace wescore
namespace westonrobot
{
class ScoutMonitor
{
@@ -73,6 +73,6 @@ private:
void UpdateScoutSystemInfo();
void UpdateScoutCmdWindow();
};
} // namespace wescore
} // namespace westonrobot
#endif /* SCOUT_MONITOR_HPP */