Skip to content

Commit

Permalink
some more work
Browse files Browse the repository at this point in the history
  • Loading branch information
warmist committed Jul 30, 2018
1 parent cafa78f commit b4b2430
Show file tree
Hide file tree
Showing 8 changed files with 8,174 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
build
.vs
/CMakeSettings.json
x64
pixeldance.dir
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ message(STATUS OPENMP: ${MSVC_OPENMP_DIR})

set_property(GLOBAL PROPERTY USE_FOLDERS ON)

set(SOURCES
set(SRCS
src/main.cpp
src/imgui-SFML.cpp
src/filesys.cpp
src/limgui.cpp
${IMGUI}/imgui.cpp
${IMGUI}/imgui_draw.cpp
${IMGUI}/imgui_demo.cpp
Expand All @@ -44,6 +45,9 @@ set(HDRS
src/imconfig-SFML.h
src/imgui-SFML.h
src/filesys.h
src/limgui.h
src/stb_image.h
src/stb_image_write.h
${LUA}/lua.hpp
${LUA}/lualib.h
)
Expand All @@ -54,7 +58,7 @@ INCLUDE_DIRECTORIES(${IMGUI})
INCLUDE_DIRECTORIES(${LUA})

add_executable(${TARGET_NAME}
${SOURCES} ${HDRS}
${SRCS} ${HDRS}
)

target_link_libraries(${TARGET_NAME} ${SFML_LIBRARIES} ${SFML_DEPENDENCIES} ${LUA}/lua51.lib)
Expand Down
8 changes: 8 additions & 0 deletions projects/circle.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
for i=1,10 do
print(i)
end
color={0,0,0,0}

function update( )
imgui.Begin("Hello")
local changed
changed,color=imgui.ColorEdit3("thing",color)
imgui.End()
end
Loading

0 comments on commit b4b2430

Please sign in to comment.