UI - Refactoring progress
(see previous log message)
This commit is contained in:
parent
6ac2511ce7
commit
b5a5a5298c
5 changed files with 14 additions and 11 deletions
12
Makefile
12
Makefile
|
@ -15,8 +15,6 @@ FILEDUMPS =
|
|||
IMGUI = imgui.cpp imgui_draw.cpp
|
||||
|
||||
COMMON = \
|
||||
imgui_impl_sdl.cc \
|
||||
\
|
||||
utilities.cc \
|
||||
texture.cc \
|
||||
rendertarget.cc \
|
||||
|
@ -24,10 +22,6 @@ COMMON = \
|
|||
\
|
||||
filewatcher.cc \
|
||||
window.cc \
|
||||
ui-actions.cc \
|
||||
ui-colorgrading.cc \
|
||||
ui-dialogs.cc \
|
||||
ui-utilities.cc \
|
||||
globals.cc \
|
||||
profiling.cc \
|
||||
shaders.cc \
|
||||
|
@ -43,6 +37,12 @@ COMMON = \
|
|||
opparser.cc \
|
||||
opcomp.cc \
|
||||
opmgr.cc \
|
||||
\
|
||||
ui-actions.cc \
|
||||
ui-colorgrading.cc \
|
||||
ui-dialogs.cc \
|
||||
ui-imgui-sdl.cc \
|
||||
ui-utilities.cc \
|
||||
# END COMMON
|
||||
|
||||
DEMO = \
|
||||
|
|
2
main.cc
2
main.cc
|
@ -1,5 +1,5 @@
|
|||
#include "externals.hh"
|
||||
#include "imgui_impl_sdl.h"
|
||||
#include "ui-imgui-sdl.hh"
|
||||
#include "demo.hh"
|
||||
#include "globals.hh"
|
||||
#include "profiling.hh"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
// https://github.com/ocornut/imgui
|
||||
|
||||
#include "externals.hh"
|
||||
#include "imgui_impl_sdl.h"
|
||||
#include "ui-imgui-sdl.hh"
|
||||
|
||||
// Data
|
||||
static double g_Time = 0.0f;
|
|
@ -6,8 +6,10 @@
|
|||
// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp.
|
||||
// https://github.com/ocornut/imgui
|
||||
|
||||
struct SDL_Window;
|
||||
typedef union SDL_Event SDL_Event;
|
||||
#pragma once
|
||||
#ifndef REAL_BUILD
|
||||
# include "externals.hh"
|
||||
#endif
|
||||
|
||||
IMGUI_API bool ImGui_ImplSdl_Init(SDL_Window* window);
|
||||
IMGUI_API void ImGui_ImplSdl_Shutdown();
|
|
@ -1,6 +1,7 @@
|
|||
#include "externals.hh"
|
||||
#include "window.hh"
|
||||
#include "imgui_impl_sdl.h"
|
||||
#include "ui-imgui-sdl.hh"
|
||||
|
||||
#include <imgui_internal.h>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue