BoredProject
This commit is contained in:
parent
3f2e6fdb4e
commit
b3d06906ff
9 changed files with 195 additions and 3 deletions
|
|
@ -88,9 +88,20 @@ void Graphics::GUI::draw() {
|
|||
halnf Graphics::GUI::getFontSize() const { return mContext->fontSizeMM; }
|
||||
halnf Graphics::GUI::getUIScale() const { return mContext->uiScale; }
|
||||
|
||||
void Graphics::GUI::setDPMM(ualni dpmm) { mContext->dpmm = dpmm; }
|
||||
void Graphics::GUI::setFontSize(ualni size) { mContext->fontSizeMM = size; }
|
||||
void Graphics::GUI::setUIScale(ualni scale) { mContext->uiScale = scale; }
|
||||
void Graphics::GUI::setDPMM(ualni dpmm) {
|
||||
mContext->dpmm = dpmm;
|
||||
setStyle();
|
||||
}
|
||||
|
||||
void Graphics::GUI::setFontSize(ualni size) {
|
||||
mContext->fontSizeMM = size;
|
||||
setStyle();
|
||||
}
|
||||
|
||||
void Graphics::GUI::setUIScale(ualni scale) {
|
||||
mContext->uiScale = scale;
|
||||
setStyle();
|
||||
}
|
||||
|
||||
void Graphics::GUI::drawDebugInfoWindow() {
|
||||
ImGui::Begin("Debug Info");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue