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