Skip to content

Commit

Permalink
Split gui into two libraries (#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
xelatihy authored Aug 15, 2020
1 parent fc63d17 commit 7d23bf7
Show file tree
Hide file tree
Showing 12 changed files with 1,276 additions and 1,154 deletions.
3 changes: 2 additions & 1 deletion apps/yimageview/yimageview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@

#include <yocto/yocto_commonio.h>
#include <yocto/yocto_image.h>
#include <yocto_gui/yocto_gui.h>
#include <yocto_gui/yocto_imgui.h>
#include <yocto_gui/yocto_opengl.h>
using namespace yocto;

#include <atomic>
Expand Down
3 changes: 2 additions & 1 deletion apps/yimageviews/yimageviews.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@

#include <yocto/yocto_commonio.h>
#include <yocto/yocto_image.h>
#include <yocto_gui/yocto_gui.h>
#include <yocto_gui/yocto_imgui.h>
#include <yocto_gui/yocto_opengl.h>
using namespace yocto;

#include <future>
Expand Down
3 changes: 2 additions & 1 deletion apps/ysceneitrace/ysceneitrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
#include <yocto/yocto_sceneio.h>
#include <yocto/yocto_shape.h>
#include <yocto/yocto_trace.h>
#include <yocto_gui/yocto_gui.h>
#include <yocto_gui/yocto_imgui.h>
#include <yocto_gui/yocto_opengl.h>
using namespace yocto;

#include <atomic>
Expand Down
3 changes: 2 additions & 1 deletion apps/ysceneitraces/ysceneitraces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
#include <yocto/yocto_sceneio.h>
#include <yocto/yocto_shape.h>
#include <yocto/yocto_trace.h>
#include <yocto_gui/yocto_gui.h>
#include <yocto_gui/yocto_imgui.h>
#include <yocto_gui/yocto_opengl.h>
using namespace yocto;

#include <future>
Expand Down
3 changes: 2 additions & 1 deletion apps/ysceneview/ysceneview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
#include <yocto/yocto_image.h>
#include <yocto/yocto_sceneio.h>
#include <yocto/yocto_shape.h>
#include <yocto_gui/yocto_gui.h>
#include <yocto_gui/yocto_imgui.h>
#include <yocto_gui/yocto_opengl.h>
using namespace yocto;

#include <atomic>
Expand Down
3 changes: 2 additions & 1 deletion apps/ysceneviews/ysceneviews.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
#include <yocto/yocto_image.h>
#include <yocto/yocto_sceneio.h>
#include <yocto/yocto_shape.h>
#include <yocto_gui/yocto_gui.h>
#include <yocto_gui/yocto_imgui.h>
#include <yocto_gui/yocto_opengl.h>
using namespace yocto;

#include <atomic>
Expand Down
3 changes: 2 additions & 1 deletion apps/yshapeview/yshapeview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
#include <yocto/yocto_image.h>
#include <yocto/yocto_sceneio.h>
#include <yocto/yocto_shape.h>
#include <yocto_gui/yocto_gui.h>
#include <yocto_gui/yocto_imgui.h>
#include <yocto_gui/yocto_opengl.h>
using namespace yocto;

#include <atomic>
Expand Down
6 changes: 4 additions & 2 deletions libs/yocto_gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ if(YOCTO_OPENGL)
add_subdirectory(ext/glfw glfw)

add_library(yocto_gui
yocto_gui.h
yocto_gui.cpp
yocto_opengl.h
yocto_opengl.cpp
yocto_imgui.h
yocto_imgui.cpp
ext/imgui/imgui.cpp
ext/imgui/imgui_draw.cpp
ext/imgui/imgui_widgets.cpp
Expand Down
Loading

0 comments on commit 7d23bf7

Please sign in to comment.