feature/imgui-sdl
Last change
on this file since 301c90a was 301c90a, checked in by Dmitry Portnoy <dportnoy@…>, 4 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
|
Rev | Line | |
---|
[301c90a] | 1 | #include "ui-widget.hpp"
|
---|
| 2 |
|
---|
| 3 | UIWidget::~UIWidget() {
|
---|
| 4 | }
|
---|
| 5 |
|
---|
| 6 | int UIWidget::getWidth() {
|
---|
| 7 | return width;
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | int UIWidget::getHeight() {
|
---|
| 11 | return height;
|
---|
| 12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.