source: opengl-game/gui/imgui/ui-wdget.cpp@ 301c90a

feature/imgui-sdl
Last change on this file since 301c90a was 301c90a, checked in by Dmitry Portnoy <dportnoy@…>, 3 years ago

Implement the start of a generic UI system built on top of IMGUI, which can reposition elements when the screen is resized, and use it in VulkanGame

  • Property mode set to 100644
File size: 148 bytes
Line 
1#include "ui-widget.hpp"
2
3UIWidget::~UIWidget() {
4}
5
6int UIWidget::getWidth() {
7 return width;
8}
9
10int UIWidget::getHeight() {
11 return height;
12}
Note: See TracBrowser for help on using the repository browser.