From 0418426c534b2650a122ff470d1f30f2388dcb3b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 5 Apr 2022 22:22:33 +0200 Subject: [PATCH] - lcd4linux: add lcd4config.conf --- .../lcd4linux/files-skel/etc/lcd4config.conf | 17 ++ .../lcd4linux/files-skel/etc/lcd4linux.conf | 155 +++++++++++------- 2 files changed, 111 insertions(+), 61 deletions(-) create mode 100644 package/lcd4linux/files-skel/etc/lcd4config.conf diff --git a/package/lcd4linux/files-skel/etc/lcd4config.conf b/package/lcd4linux/files-skel/etc/lcd4config.conf new file mode 100644 index 00000000..7a6a845f --- /dev/null +++ b/package/lcd4linux/files-skel/etc/lcd4config.conf @@ -0,0 +1,17 @@ +# +# https://www.materialpalette.com/colors +# +col_service=9e9e9e +col_event=9e9e9e +col_event_start=9e9e9e +col_event_end=616161 +col_event_next=616161 +col_progress_foreground=9e9e9e +col_progress_background=424242 +col_duration=9e9e9e +col_time=000000 +col_time_standby=9e9e9e +col_system_info=9e9e9e +col_temperatur=ffffff +col_xcam_header=eeeeee +col_xcam=9e9e9e diff --git a/package/lcd4linux/files-skel/etc/lcd4linux.conf b/package/lcd4linux/files-skel/etc/lcd4linux.conf index 9f3367a1..270866ff 100644 --- a/package/lcd4linux/files-skel/etc/lcd4linux.conf +++ b/package/lcd4linux/files-skel/etc/lcd4linux.conf @@ -24,15 +24,27 @@ Variables { TUXBOX_ICONS '/usr/share/tuxbox/neutrino/icons/' TUXBOX_FONTS '/usr/share/fonts/' + LCD4CONFIG '/etc/lcd4config.conf' + # colors { - COL_GREY_LIGHT 'EEEEEE' - COL_GREY '9E9E9E' - COL_GREY_DARKER '616161' - COL_GREY_DARK '424242' - COL_BLACK '000000' - COL_WHITE 'FFFFFF' - - COL_TIME '000000' + COL_GREY '9E9E9E' + COL_BLACK '000000' + COL_WHITE 'FFFFFF' + + COL_SERVICE '9E9E9E' + COL_EVENT '9E9E9E' + COL_EVENT_START '9E9E9E' + COL_EVENT_END '616161' + COL_EVENT_NEXT '616161' + COL_PROGRESS_FOREGROUND '9E9E9E' + COL_PROGRESS_BACKGROUND '424242' + COL_DURATION '9E9E9E' + COL_TIME '000000' + COL_TIME_STANDBY '9E9E9E' + COL_SYSTEM_INFO '9E9E9E' + COL_TEMPERATUR 'FFFFFF' + COL_XCAM_HEADER 'EEEEEE' + COL_XCAM '9E9E9E' # } STORM_WARNING '10.8333' @@ -357,7 +369,7 @@ Widget 320x240_SERVICE { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE) align 'C' width 300 height 60 @@ -372,7 +384,7 @@ Widget 320x240_SERVICE_large { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE) align 'C' width 300 height 70 @@ -387,7 +399,7 @@ Widget 320x240_SERVICE_small { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE) align 'C' width 300 height 50 @@ -417,7 +429,7 @@ Widget 800x480_SERVICE { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE) align 'C' width 770 height 100 @@ -432,7 +444,7 @@ Widget 800x600_SERVICE { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE) align 'C' width 770 height 120 @@ -447,7 +459,7 @@ Widget 1024x600_SERVICE { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE) align 'C' width 994 height 120 @@ -462,7 +474,7 @@ Widget 320x240_EVENT { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT) align 'C' width 300 height 60 @@ -477,7 +489,7 @@ Widget 320x240_EVENT_large { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT) align 'C' width 300 height 70 @@ -492,7 +504,7 @@ Widget 320x240_EVENT_small { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT) align 'C' width 300 height 50 @@ -522,7 +534,7 @@ Widget 800x480_EVENT { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT) align 'C' width 770 height 100 @@ -537,7 +549,7 @@ Widget 800x600_EVENT { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT) align 'C' width 770 height 120 @@ -552,7 +564,7 @@ Widget 1024x600_EVENT { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT) align 'C' width 994 height 120 @@ -567,7 +579,7 @@ Widget 1024x600_EVENT_START { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/start', 1) font file::readline('/tmp/lcd/font', 2) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_event_start=', COL_EVENT_START) align 'L' width 200 height 60 @@ -582,7 +594,7 @@ Widget 1024x600_EVENT_END { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/end', 1) font file::readline('/tmp/lcd/font', 2) - fcolor COL_GREY_DARKER + fcolor file::readconf(LCD4CONFIG, 'col_event_end=', COL_EVENT_END) align 'R' width 200 height 60 @@ -597,7 +609,7 @@ Widget 800x600_EVENT_NEXT { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/event', 2) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY_DARKER + fcolor file::readconf(LCD4CONFIG, 'col_event_next=', COL_EVENT_NEXT) align 'C' width 770 height 80 @@ -612,7 +624,7 @@ Widget 1024x600_EVENT_NEXT { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/event', 2) font file::readline('/tmp/lcd/font', 1) - fcolor COL_GREY_DARKER + fcolor file::readconf(LCD4CONFIG, 'col_event_next=', COL_EVENT_NEXT) align 'C' width 994 height 80 @@ -630,8 +642,8 @@ Widget 320x240_PROGRESS { max 100 length 25 update 2600 - foreground COL_GREY - background COL_GREY_DARK + foreground file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND) + background file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND) } Widget 320x240_PROGRESS_large { @@ -641,8 +653,8 @@ Widget 320x240_PROGRESS_large { max 100 length 25 update 2600 - foreground COL_GREY - background COL_GREY_DARK + foreground file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND) + background file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND) } Widget 320x240_PROGRESS_small { @@ -653,10 +665,10 @@ Widget 320x240_PROGRESS_small { max 100 length 25 update 2600 - foreground COL_GREY - barcolor0 COL_GREY + foreground file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND) + barcolor0 file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND) barcolor1 COL_BLACK - background COL_GREY_DARK + background file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND) } Widget 320x240_PROGRESS_d-box2 { @@ -682,8 +694,8 @@ Widget 800x600_PROGRESS { max 100 length 29 update 2600 - foreground COL_GREY - background COL_GREY_DARK + foreground file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND) + background file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND) } Widget 1024x600_PROGRESS { @@ -693,8 +705,8 @@ Widget 1024x600_PROGRESS { max 100 length 47 update 2600 - foreground COL_GREY - background COL_GREY_DARK + foreground file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND) + background file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND) } Widget 320x240_VOLUME_d-box2 { @@ -717,7 +729,7 @@ Widget 320x240_DURATION { class 'Truetype' expression file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/duration', 1) font file::readline('/tmp/lcd/font', 2) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_duration=', COL_DURATION) align 'R' width 190 height 40 @@ -732,7 +744,7 @@ Widget 320x240_TIME { class 'Truetype' expression strftime('%H:%M', time()) font file::readline('/tmp/lcd/font', 2) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_time=', COL_TIME) align 'L' width 110 height 40 @@ -747,7 +759,7 @@ Widget 320x240_TIME_small { class 'Truetype' expression strftime('%H:%M', time()) font file::readline('/tmp/lcd/font', 2) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_time=', COL_TIME) align 'R' width 90 height 18 @@ -777,7 +789,7 @@ Widget 800x600_TIME { class 'Truetype' expression strftime('%H:%M', time()) font file::readline('/tmp/lcd/font', 2) - fcolor COL_TIME + fcolor file::readconf(LCD4CONFIG, 'col_time=', COL_TIME) align 'C' width 240 height 128 @@ -792,7 +804,7 @@ Widget 1024x600_TIME { class 'Truetype' expression strftime('%H:%M', time()) font file::readline('/tmp/lcd/font', 2) - fcolor COL_TIME + fcolor file::readconf(LCD4CONFIG, 'col_time=', COL_TIME) align 'C' width 400 height 128 @@ -807,8 +819,7 @@ Widget 320x240_TIME_STANDBY { class 'Truetype' expression file::exist(F_CLOCK_ANALOG) == 1 ? '' : strftime('%H:%M', time()) font file::readline('/tmp/lcd/font', 2) - #font file::exist(TUXBOX_FONTS . '/oled/led.ttf') == 1 ? TUXBOX_FONTS . '/oled/led.ttf' : file::readline('/tmp/lcd/font', 2) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_time_standby=', COL_TIME_STANDBY) align 'C' width 300 height 148 @@ -823,8 +834,7 @@ Widget 800x480_TIME_STANDBY { class 'Truetype' expression file::exist(F_CLOCK_ANALOG) == 1 ? '' : strftime('%H:%M', time()) font file::readline('/tmp/lcd/font', 2) - #font file::exist(TUXBOX_FONTS . '/oled/led.ttf') == 1 ? TUXBOX_FONTS . '/oled/led.ttf' : file::readline('/tmp/lcd/font', 2) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_time_standby=', COL_TIME_STANDBY) align 'C' width 770 height 300 @@ -839,8 +849,7 @@ Widget 800x600_TIME_STANDBY { class 'Truetype' expression file::exist(F_CLOCK_ANALOG) == 1 ? '' : strftime('%H:%M', time()) font file::readline('/tmp/lcd/font', 2) - #font file::exist(TUXBOX_FONTS . '/oled/led.ttf') == 1 ? TUXBOX_FONTS . '/oled/led.ttf' : file::readline('/tmp/lcd/font', 2) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_time_standby=', COL_TIME_STANDBY) align 'C' width 770 height 360 @@ -855,8 +864,7 @@ Widget 1024x600_TIME_STANDBY { class 'Truetype' expression file::exist(F_CLOCK_ANALOG) == 1 ? '' : strftime('%H:%M', time()) font file::readline('/tmp/lcd/font', 2) - #font file::exist(TUXBOX_FONTS . '/oled/led.ttf') == 1 ? TUXBOX_FONTS . '/oled/led.ttf' : file::readline('/tmp/lcd/font', 2) - fcolor COL_GREY + fcolor file::readconf(LCD4CONFIG, 'col_time_standby=', COL_TIME_STANDBY) align 'C' width 994 height 360 @@ -878,7 +886,7 @@ Widget 320x240_CPU { align 'R' width 11 update 1000 - foreground COL_GREY + foreground file::readconf(LCD4CONFIG, 'col_system_info=', COL_SYSTEM_INFO) } Widget 320x240_CPU_BAR { @@ -889,7 +897,7 @@ Widget 320x240_CPU_BAR { length 12 style 'H' update 500 - foreground COL_GREY + foreground file::readconf(LCD4CONFIG, 'col_system_info=', COL_SYSTEM_INFO) } Widget 320x240_RAM { @@ -901,7 +909,7 @@ Widget 320x240_RAM { align 'R' width 11 update 1000 - foreground COL_GREY + foreground file::readconf(LCD4CONFIG, 'col_system_info=', COL_SYSTEM_INFO) } Widget 320x240_MTD { @@ -913,7 +921,7 @@ Widget 320x240_MTD { align 'R' width 11 update 1000 - foreground COL_GREY + foreground file::readconf(LCD4CONFIG, 'col_system_info=', COL_SYSTEM_INFO) } # --- Mode icons --- # @@ -1218,7 +1226,7 @@ Widget TEMPERATURE_CURRENT { class 'Truetype' expression file::exist(F_WEATHER) == 0 ? '' : file::readline('/tmp/lcd/weather_temp', 1) font file::readline('/tmp/lcd/font', 2) - fcolor COL_WHITE + fcolor file::readconf(LCD4CONFIG, 'col_temperatur=', COL_TEMPERATUR) align 'L' width 75 height 64 @@ -1233,7 +1241,7 @@ Widget TEMPERATURE_CURRENT_SCALE200 { class 'Truetype' expression file::exist(F_WEATHER) == 0 ? '' : file::readline('/tmp/lcd/weather_temp', 1) font file::readline('/tmp/lcd/font', 2) - fcolor COL_WHITE + fcolor file::readconf(LCD4CONFIG, 'col_temperatur=', COL_TEMPERATUR) align 'L' width 120 height 128 @@ -1248,7 +1256,7 @@ Widget TEMPERATURE_LATER { class 'Truetype' expression file::exist(F_WEATHER) == 0 ? '' : (TEMP=file::readline('/tmp/lcd/weather_temp', strftime('%H', time()) < 16 ? 2 : 3); substr(TEMP, (strstr(TEMP, '|') + 1))) font file::readline('/tmp/lcd/font', 2) - fcolor COL_WHITE + fcolor file::readconf(LCD4CONFIG, 'col_temperatur=', COL_TEMPERATUR) align 'R' width 75 height 64 @@ -1263,7 +1271,7 @@ Widget TEMPERATURE_LATER_SCALE200 { class 'Truetype' expression file::exist(F_WEATHER) == 0 ? '' : (TEMP=file::readline('/tmp/lcd/weather_temp', strftime('%H', time()) < 16 ? 2 : 3); substr(TEMP, (strstr(TEMP, '|') + 1))) font file::readline('/tmp/lcd/font', 2) - fcolor COL_WHITE + fcolor file::readconf(LCD4CONFIG, 'col_temperatur=', COL_TEMPERATUR) align 'R' width 120 height 128 @@ -1314,7 +1322,7 @@ Widget XCAMLINE01 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 1) : 'Noob! :)' update 10000 - foreground COL_GREY_LIGHT + foreground file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER) } Widget XCAMLINE02 { @@ -1323,7 +1331,7 @@ Widget XCAMLINE02 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 2) : 'Noob! :)' update 10000 - foreground COL_GREY_LIGHT + foreground file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER) } Widget XCAMLINE03 { @@ -1332,7 +1340,7 @@ Widget XCAMLINE03 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 3) : 'Noob! :)' update 10000 - foreground COL_GREY_LIGHT + foreground file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER) } Widget XCAMLINE04 { @@ -1341,7 +1349,7 @@ Widget XCAMLINE04 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 4) : 'Noob! :)' update 10000 - foreground COL_GREY_LIGHT + foreground file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER) } Widget XCAMLINE05 { @@ -1350,7 +1358,7 @@ Widget XCAMLINE05 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 5) : 'Noob! :)' update 10000 - foreground COL_GREY_LIGHT + foreground file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER) } Widget XCAMLINE06 { @@ -1359,6 +1367,7 @@ Widget XCAMLINE06 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 6) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE07 { @@ -1367,6 +1376,7 @@ Widget XCAMLINE07 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 7) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE08 { @@ -1375,6 +1385,7 @@ Widget XCAMLINE08 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 8) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE09 { @@ -1383,6 +1394,7 @@ Widget XCAMLINE09 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 9) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE10 { @@ -1391,6 +1403,7 @@ Widget XCAMLINE10 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 10) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE11 { @@ -1399,6 +1412,7 @@ Widget XCAMLINE11 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 11) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE12 { @@ -1407,6 +1421,7 @@ Widget XCAMLINE12 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 12) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE13 { @@ -1415,6 +1430,7 @@ Widget XCAMLINE13 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 13) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE14 { @@ -1423,6 +1439,7 @@ Widget XCAMLINE14 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 14) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE15 { @@ -1431,6 +1448,7 @@ Widget XCAMLINE15 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 15) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE16 { @@ -1439,6 +1457,7 @@ Widget XCAMLINE16 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 16) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE17 { @@ -1447,6 +1466,7 @@ Widget XCAMLINE17 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 17) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE18 { @@ -1455,6 +1475,7 @@ Widget XCAMLINE18 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 18) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE19 { @@ -1463,6 +1484,7 @@ Widget XCAMLINE19 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 19) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE20 { @@ -1471,6 +1493,7 @@ Widget XCAMLINE20 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 20) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE21 { @@ -1479,6 +1502,7 @@ Widget XCAMLINE21 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 21) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE22 { @@ -1487,6 +1511,7 @@ Widget XCAMLINE22 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 22) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE23 { @@ -1495,6 +1520,7 @@ Widget XCAMLINE23 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 23) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE24 { @@ -1503,6 +1529,7 @@ Widget XCAMLINE24 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 24) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE25 { @@ -1511,6 +1538,7 @@ Widget XCAMLINE25 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 25) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE26 { @@ -1519,6 +1547,7 @@ Widget XCAMLINE26 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 26) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE27 { @@ -1527,6 +1556,7 @@ Widget XCAMLINE27 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 27) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE28 { @@ -1535,6 +1565,7 @@ Widget XCAMLINE28 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 28) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE29 { @@ -1543,6 +1574,7 @@ Widget XCAMLINE29 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 29) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } Widget XCAMLINE30 { @@ -1551,6 +1583,7 @@ Widget XCAMLINE30 { align 'L' expression file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 30) : 'Noob! :)' update 10000 + foreground file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM) } # --- Layouts --------------------------------------------------------------- #