🚚 Renamed 'widgets' folder to 'themes'

0.8
Bruno Van de Velde 2017-09-21 14:02:36 +02:00
parent c310a37a56
commit 40e946c52c
11 changed files with 7 additions and 7 deletions

View File

@ -332,9 +332,9 @@ endif()
# Jump to the CMakeLists.txt file in the source folder
add_subdirectory(src/TGUI)
# Install the widgets on linux
# Install the themes on linux
if (SFML_OS_LINUX)
install( DIRECTORY widgets DESTINATION "${INSTALL_MISC_DIR}" )
install( DIRECTORY themes DESTINATION "${INSTALL_MISC_DIR}" )
endif()
# Build the documentation when requested

View File

@ -36,7 +36,7 @@ int main()
try
{
tgui::Theme theme{"../../widgets/Black.txt"};
tgui::Theme theme{"../../themes/Black.txt"};
gui.add(tgui::Picture::create("../RedBackground.jpg"));

View File

@ -72,9 +72,9 @@ add_custom_command(TARGET tests
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/tests/expected $<TARGET_FILE_DIR:tests>/expected
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/tests/resources $<TARGET_FILE_DIR:tests>/resources
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/widgets/Knob $<TARGET_FILE_DIR:tests>/resources/Knob
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/widgets/Black.png $<TARGET_FILE_DIR:tests>/resources
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/widgets/Black.txt $<TARGET_FILE_DIR:tests>/resources)
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/themes/Knob $<TARGET_FILE_DIR:tests>/resources/Knob
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/themes/Black.png $<TARGET_FILE_DIR:tests>/resources
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/themes/Black.txt $<TARGET_FILE_DIR:tests>/resources)
# Add the install rule for the executable
install(TARGETS tests
@ -85,6 +85,6 @@ install(TARGETS tests
install(DIRECTORY "${CMAKE_SOURCE_DIR}/tests/resources"
DESTINATION "${INSTALL_MISC_DIR}/tests"
COMPONENT tests)
install(DIRECTORY "${CMAKE_SOURCE_DIR}/widgets/"
install(DIRECTORY "${CMAKE_SOURCE_DIR}/themes/"
DESTINATION "${INSTALL_MISC_DIR}/tests/resources"
COMPONENT tests)

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

Before

Width:  |  Height:  |  Size: 306 B

After

Width:  |  Height:  |  Size: 306 B