Вопрос Two borders for childbox in imgui

Начинающий
Статус
Оффлайн
Регистрация
25 Ноя 2020
Сообщения
6
Реакции[?]
0
Поинты[?]
0
Hey, I tried looking through the code of childboxes in imgui (imgui :: beginchild ()) and I couldn't really find a way of how to make it have two borders (for example a black one, and a gray one, like what gamesense has etc)

Wondering if anyone here has an idea, thanks :)
 
Начинающий
Статус
Оффлайн
Регистрация
14 Ноя 2020
Сообщения
3
Реакции[?]
0
Поинты[?]
0
find where it draws the child then use render one more border and make it a little smaller then the main (make it find the size of the first one and copy it but take make it take away a few pixels) pretty easy prob 5 min
 
Сверху Снизу