Skip to content

Commit

Permalink
Refactored Visual Node Area class by dividing it into multiple files …
Browse files Browse the repository at this point in the history
…for better readability and easier modification; Moved socket style to connection, as it's more logical since the style is applied to connections, not sockets; Renamed certain functions and variables for clearer understanding of their functionality; Connections now respond to mouse hover and can be selected.
  • Loading branch information
Azzinoth committed Aug 6, 2023
1 parent b3f2381 commit 4fa8edf
Show file tree
Hide file tree
Showing 13 changed files with 2,216 additions and 1,835 deletions.
12 changes: 10 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@ if(NOT TARGET FEBasicApplication)
add_subdirectory(SubSystems/FEBasicApplication)
endif()

file(GLOB VisualNodeArea_SRC
"SubSystems/VisualNodeArea/VisualNodeArea.cpp"
"SubSystems/VisualNodeArea/VisualNodeArea.h"
"SubSystems/VisualNodeArea/VisualNodeAreaLogic.cpp"
"SubSystems/VisualNodeArea/VisualNodeAreaInput.cpp"
"SubSystems/VisualNodeArea/VisualNodeAreaRendering.cpp"
)

file(GLOB VisualNodeSystem_SRC
"VisualNodeSystem.cpp"
"VisualNodeSystem.h"
"VisualNodeArea.cpp"
"VisualNodeArea.h"
"VisualNodeFactory.cpp"
"VisualNodeFactory.h"
"VisualNode.cpp"
Expand All @@ -43,13 +49,15 @@ file(GLOB jsoncpp_SRC

add_library(VisualNodeSystem
${VisualNodeSystem_SRC}
${VisualNodeArea_SRC}
# *************** THIRD_PARTY ***************
${jsoncpp_SRC}
)

target_link_libraries(VisualNodeSystem FEBasicApplication)

source_group("Source Files" FILES ${VisualNodeSystem_SRC})
source_group("Source Files/SubSystems/VisualNodeArea/" FILES ${VisualNodeArea_SRC})
# *************** THIRD_PARTY ***************
source_group("Source Files/ThirdParty/jsoncpp" FILES ${jsoncpp_SRC})

Expand Down
Loading

0 comments on commit 4fa8edf

Please sign in to comment.