CThemes: add default theme from config and migrate theme settings if needed

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0344962efc
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-11 (Wed, 11 Apr 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2018-04-11 23:58:15 +02:00
committed by vanhofen
parent c45dbb36fc
commit 617708e7c5
4 changed files with 16 additions and 6 deletions

View File

@@ -38,6 +38,13 @@ AC_ARG_ENABLE(reschange,
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution]))
AM_CONDITIONAL(ENABLE_RESCHANGE, test "$enable_reschange" = "yes")
# default theme
AC_ARG_WITH(default-theme,
AS_HELP_STRING([--with-default-theme=THEMENAME], [Default theme for gui. Default it is empty for internal fallback to default colors.]),
[default_theme="$withval"],
[default_theme=""])
AC_DEFINE_UNQUOTED([DEFAULT_THEME], ["$default_theme"], [Default theme for gui.])
AC_MSG_CHECKING(target)
if test "$TARGET" = "native"; then