Add a theme class to store all the custom UI values used in the code.

It will need a setting for selecting the theme in the factory method.
This commit is contained in:
Luis Ángel San Martín
2018-09-07 12:34:59 +02:00
committed by Luis Ángel San Martín
parent 53fcc52dd6
commit deb1971bc9
3 changed files with 48 additions and 2 deletions

View File

@ -145,7 +145,8 @@ HEADERS += comic_flow.h \
yacreader_comics_selection_helper.h \
yacreader_comic_info_helper.h \
db/reading_list.h \
current_comic_view_helper.h
current_comic_view_helper.h \
theme.h
!CONFIG(no_opengl) {
HEADERS += ../common/gl/yacreader_flow_gl.h
@ -217,7 +218,8 @@ SOURCES += comic_flow.cpp \
yacreader_comics_selection_helper.cpp \
yacreader_comic_info_helper.cpp\
db/reading_list.cpp \
current_comic_view_helper.cpp
current_comic_view_helper.cpp \
theme.cpp
!CONFIG(no_opengl) {
SOURCES += ../common/gl/yacreader_flow_gl.cpp