
11.04.2018, 17:03
|
|
Новичок
Регистрация: 01.12.2009
Сообщений: 0
С нами:
8654409
Репутация:
0
|
|
Каким образом можно подключить ImGui в проект SF?
Пытался по этому примеру, не помогает.
C++:
[CODE]
// ImGui - null/dummy example application (compile and link imgui with no inputs, no outputs)
#include "imgui.h"
#include
int
main
(
int
,
char
*
*
)
{
ImGui
::
CreateContext
(
)
;
ImGuiIO
&
io
=
ImGui
::
GetIO
(
)
;
// Build atlas
unsigned
char
*
tex_pixels
=
NULL
;
int
tex_w
,
tex_h
;
io
.
Fonts
->
GetTexDataAsRGBA32
(
&
tex_pixels
,
&
tex_w
,
&
tex_h
)
;
for
(
int
n
=
0
;
n
|
|
|