Changeset aa7707d in opengl-game for gui/panel.cpp
- Timestamp:
- Jul 25, 2020, 8:05:57 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master
- Children:
- 681dbe8
- Parents:
- 6bfd91c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/panel.cpp
r6bfd91c raa7707d 3 3 #include <iostream> 4 4 5 #include <SDL2/SDL2_gfxPrimitives.h>5 // #include <SDL2/SDL2_gfxPrimitives.h> 6 6 7 7 using namespace std; … … 42 42 SDL_RenderClear(&this->renderer); 43 43 44 /* 44 45 roundedBoxRGBA(&this->renderer, 0, 0, this->width, this->height, 45 46 8, 0x33, 0x33, 0x33, 0xFF); 47 */ 46 48 47 49 int borderThickness = 1; … … 52 54 uint8_t colorA = this->color & 0xFF; 53 55 56 /* 54 57 roundedBoxRGBA(&this->renderer, borderThickness, borderThickness, 55 58 this->width - borderThickness, this->height - borderThickness, 56 59 8, colorR, colorG, colorB, colorA); 60 */ 57 61 58 62 for (UIElement*& uiElement : this->uiElements) {
Note:
See TracChangeset
for help on using the changeset viewer.