-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #253 from ogamespec/master
Portable debugui.cpp
- Loading branch information
Showing
12 changed files
with
356 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Empty CUI implementation, can be used for custom Cui implementations (e.g. imgui). | ||
#include "pch.h" | ||
|
||
namespace Debug | ||
{ | ||
// CuiWindow | ||
|
||
CuiWindow::CuiWindow(CuiRect& rect, std::string name, Cui* parent) {} | ||
CuiWindow::~CuiWindow() {} | ||
|
||
void CuiWindow::Print(CuiColor back, CuiColor front, int x, int y, std::string text) {} | ||
void CuiWindow::Print(CuiColor front, int x, int y, std::string text) {} | ||
void CuiWindow::Print(CuiColor back, CuiColor front, int x, int y, const char* fmt, ...) {} | ||
void CuiWindow::Print(CuiColor front, int x, int y, const char* fmt, ...) {} | ||
void CuiWindow::Fill(CuiColor back, CuiColor front, char c) {} | ||
void CuiWindow::FillLine(CuiColor back, CuiColor front, int y, char c) {} | ||
|
||
void CuiWindow::SetCursor(int x, int y) {} | ||
|
||
// Cui | ||
|
||
Cui::Cui(std::string title, size_t width, size_t height) {} | ||
Cui::~Cui() {} | ||
|
||
void Cui::AddWindow(CuiWindow* wnd) {} | ||
|
||
void Cui::SetWindowFocus(const std::string& name) {} | ||
|
||
void Cui::OnKeyPress(char Ascii, CuiVkey Vkey, bool shift, bool ctrl) {} | ||
|
||
void Cui::ShowCursor(bool show) {} | ||
void Cui::SetCursor(int x, int y) {} | ||
|
||
void Cui::InvalidateAll() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.