Commit Graph

13295 Commits

Author SHA1 Message Date
svenhoefer
5aec539e32 - fix directories
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-12-07 20:34:25 +01:00
svenhoefer
8631665748 - hw_caps: sync with libstb-hal; fix cst build
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-12-07 20:34:25 +01:00
Thilo Graf
b035549b11 cc_frm_footer: try to fine tune of font size and button arrangement
This was necessary because some static dimesionized windows are
using untreated button dimensions and inappropriate font settings
within footers and provoked rendering outside the window dimensions.
Watched with some stb-lua plugins.

Known problems:
In some cases large font scaling by users makes the typeface look bad.
Overlappings cannot be ruled out in extreme cases and when using
unsuitable fonts related with small assigned button dimensions are doing the rest.
In my opinion, scaling should not take place stepless as currently
but e.g. in three selectable steps.
Otherwise, this cannot be done properly without any compromises.
2020-12-07 20:33:52 +01:00
Thilo Graf
0b41f87932 cc_frm_button.cpp: fine tune of item dimensions and font handling 2020-12-07 20:33:52 +01:00
Thilo Graf
8dafe512f4 cc_frm_footer.cpp: consider offset size for button container
Avoids overlapping button container on the right border of footer.
2020-12-07 20:33:52 +01:00
Thilo Graf
a63ec58db6 cc_frm_footer: use item name for better debug output 2020-12-07 20:33:52 +01:00
Thilo Graf
3b70568dee cc_frm_button: add missing methode setButtonIcon() 2020-12-07 20:33:52 +01:00
Thilo Graf
d724275511 cc_frm_button: align item name dependently to caption 2020-12-07 20:33:52 +01:00
Thilo Graf
09d4fdc684 cc_frm_button: add methode clearButtonDirectKeys() 2020-12-07 20:33:52 +01:00
Thilo Graf
4addf9f1ec cc_types: add slot btn_slot to struct type button_label_cc 2020-12-07 20:33:52 +01:00
Thilo Graf
4044e78d4c cc_frm_button: add signal OnPressedButton 2020-12-07 20:33:52 +01:00
Thilo Graf
f24cea8c76 cc_button_select: add member setSelectedButton() without text color args 2020-12-07 20:33:52 +01:00
Thilo Graf
f6040c243c cc_frm_buttons: expand functionality of setButtonTextColor()
Color parameters for 'select' and 'disable' colors added.
2020-12-07 20:33:52 +01:00
Thilo Graf
e38b99f8db cc_types: add variables for select and preselect images and select text color 2020-12-07 20:33:52 +01:00
Thilo Graf
bc890eaa66 cc_types: add text color with default value to type button_label_cc 2020-12-07 20:33:52 +01:00
Thilo Graf
d5401442d4 cc_frm: Simplify assigning of scroll bar width. 2020-12-07 20:33:52 +01:00
Thilo Graf
f8c326040b cc_item: use different corner radius for shadow 2020-12-07 20:33:52 +01:00
Thilo Graf
3cf2ea138f cc_frm: consider frame width with center mode 2020-12-07 20:33:52 +01:00
Thilo Graf
82301764e4 cc_frm: remove unused variable w_parent_frame 2020-12-07 20:33:52 +01:00
Thilo Graf
9200305539 cc_frm_window: assign item postions dependency of frame width
required after commit:
	'cc_frm: don't consider parent frame inside render of items for child forms'
2020-12-07 20:33:52 +01:00
Thilo Graf
b95cc2fe62 cc_frm: don't consider parent frame inside render of items for child forms 2020-12-07 20:33:52 +01:00
Thilo Graf
5acf36b105 cc_frm_button.cpp: remove not required statement call
Avoids oversized button with too long text.
Error was observed in some lua plugin windows with large font scale settings
and with osd resolution of 1280x720.
2020-12-07 20:33:52 +01:00
Thilo Graf
3ed6232fdf cc_frm_button: add methode getButtonFont() 2020-12-07 20:33:52 +01:00
Thilo Graf
985a667a36 cc_draw: try to fix logic inside setFrameThickness()
Signed values had the same effects like unsigned values. Therefore
frames were enabled with default control value -1 too.
2020-12-07 20:33:52 +01:00
Thilo Graf
15e59a2f62 cc_types: rename order_id -> sort_id for more plausibility 2020-12-07 20:33:52 +01:00
Thilo Graf
63968cb575 cc_item_text: move iToString() to public section 2020-12-07 20:33:52 +01:00
Thilo Graf
a46ae13331 cc_item_text: small format fixes for text indentations 2020-12-07 20:33:52 +01:00
Thilo Graf
4e31752404 cc_frm; cc_button_select: Avoid possible crash if no item is selectable 2020-12-07 20:33:52 +01:00
Thilo Graf
ab2e9eeff6 cc_frm_slider: rework slider slider handling 2020-12-07 20:33:52 +01:00
Thilo Graf
c88a6ff7b3 cc: rework color handling for select and focus status 2020-12-07 20:33:52 +01:00
Thilo Graf
26030ee914 msgbox: switch setSelectedButton() to SetSelectedButton()
Text color args are not required here, we use neutrino default settings
for button text colors.
2020-11-26 16:19:14 +01:00
Thilo Graf
0b6aa72489 eventlist: remove unnecessary braces, better for IDE's 2020-11-26 16:17:57 +01:00
Thilo Graf
2888dba271 channellist: remove unnecessary braces, better for IDE's 2020-11-26 16:17:51 +01:00
Thilo Graf
fbb92e0b74 opkg-manager: add clean command 2020-11-26 16:17:41 +01:00
Thilo Graf
eb5bb066b2 test_menu.cpp: ensure destroy footer after hide 2020-11-26 15:56:36 +01:00
Thilo Graf
976ffce7f7 msgbox.cpp: fix possible crash if no buttons defined 2020-11-24 15:06:49 +01:00
svenhoefer
b7f2ffb5fb - update: fix new partition for hd6x using g_info.hw_caps->startup_file
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-11-23 08:51:58 +01:00
svenhoefer
3243884ca1 - hw_caps/cst: introduce startup_file
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-11-23 08:51:15 +01:00
svenhoefer
f9676e1dba - update: fix file ending for backup archive
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-11-22 16:39:46 +01:00
Thilo Graf
79e9738399 streaminfo2.cpp: use separate var for filename output
Avoids truncation warnings.
2020-11-16 09:12:40 +01:00
Thilo Graf
2570333010 helpers.h/cpp: add default timeout parameter with value 1
For flexible usage of timeout in related downloadUrl methods if required.
2020-11-16 08:37:53 +01:00
TangoCash
878b3bc03b set download logo timeout to 1 sec 2020-11-16 08:02:34 +01:00
Thilo Graf
ea0bc8afcd bad package list: add new entries for boost, gstreamer, kodi 2020-11-15 20:06:28 +01:00
Thilo Graf
9f0c88a215 frontend.cpp: clean up indents with some braces in calcDeclination() 2020-11-15 16:05:09 +01:00
Thilo Graf
88abaa8232 test_menu.cpp: remove double include 2020-11-15 15:33:31 +01:00
svenhoefer
96347602f1 - cables.xml: update OstTelCom
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-11-15 15:33:22 +01:00
svenhoefer
bacc3f674e - settings-manager: remove obsolete include
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-11-15 15:31:51 +01:00
svenhoefer
550ece306e - keybind-setup/settings-manager: use getBackupSuffix() function
Conflicts:
	data/scripts/backup.sh

Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-11-15 15:31:46 +01:00
svenhoefer
31cea8ca29 - helpers: add function to get backup suffix
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-11-15 15:31:43 +01:00
svenhoefer
9b87fa8cd8 - keybind-setup: change save keys procedure; aligned to settings-manager
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-11-15 15:31:41 +01:00