mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 17:44:48 -07:00
Theme manager
This is the first implementation of a theme manager. It’s a rebased and revisited version of #792.
This commit is contained in:
parent
5d08236cbe
commit
bdd55db549
64 changed files with 359 additions and 387 deletions
22
themes/CMakeLists.txt
Normal file
22
themes/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# CMakeLists for themes directory
|
||||
#
|
||||
# add themes subfolders
|
||||
|
||||
SET(defthemes
|
||||
Default
|
||||
Fabric
|
||||
Leather
|
||||
Plasma
|
||||
VelvetMarble
|
||||
)
|
||||
|
||||
if(UNIX)
|
||||
if(APPLE)
|
||||
INSTALL(DIRECTORY ${defthemes} DESTINATION cockatrice.app/Contents/Resources/themes/)
|
||||
else()
|
||||
# Assume linux
|
||||
INSTALL(DIRECTORY ${defthemes} DESTINATION share/cockatrice/themes/)
|
||||
endif()
|
||||
elseif(WIN32)
|
||||
INSTALL(DIRECTORY ${defthemes} DESTINATION themes/)
|
||||
endif()
|
||||
Loading…
Add table
Add a link
Reference in a new issue