Commit Graph

893 Commits

Author SHA1 Message Date
Thilo Graf
4988df1dd9 Messages: add option to change size of message text
Include default size and localized setup.

TODO: localize for nederlands and slovak, current english only.
2016-11-20 01:08:14 +01:00
Thilo Graf
aa40d88300 Merge branch 'master' into pu/msgbox 2016-11-14 20:38:01 +01:00
Jacek Jendrzej
99c57d3075 src/gui/widget/menue.cpp try fix hide info_box (in channellist) 2016-11-14 19:27:09 +01:00
Stefan Seyfried
2c92d112d0 Merge remote-tracking branch 'tuxbox/master' 2016-11-12 18:06:26 +01:00
Thilo Graf
27905b9acf CHintBox: update ascII scheme 2016-11-12 14:51:18 +01:00
Thilo Graf
075917e32d CHintBox: remove center text mode on used picon 2016-11-11 23:10:39 +01:00
Thilo Graf
3193fef4c6 CHintbox: enlarge possible max height
Better use of available screen size for many lines
2016-11-11 21:42:07 +01:00
Thilo Graf
7f5a576795 CHintBox: try to fix truncated chars
Last chars were truncated. Indent and titel text were not considered.
2016-11-11 21:42:07 +01:00
Thilo Graf
96ffa4778a Merge branch 'master' into pu/msgbox 2016-11-11 00:51:20 +01:00
Thilo Graf
30f231c801 CMenuWidget: move signal before render methodes
At start of methode, unusual behavior could occur.
2016-11-11 00:48:37 +01:00
Thilo Graf
0952efaba4 CHintBox: optimize dynamic window width bahavior on different line sizes
Width calculation is now depends on largest line of text.
2016-11-10 11:19:09 +01:00
Thilo Graf
91c7588aa6 CTextBox: add static function to get largest line of passed text
This could be useful eg. for size calculations.
2016-11-10 11:19:09 +01:00
Thilo Graf
e3f51f2c91 CHintBox/CMsgBox: rework text handling and dynamic size behavior 2016-11-10 11:18:56 +01:00
Thilo Graf
4bdd5e11a9 CHintBox: add member to get maximal required width 2016-11-10 11:15:43 +01:00
Thilo Graf
ac8d05f5e1 CTextBox: add static function to get count of lines from passed text
I'm missing a function that returns current line count outside
of a CTextBox object. This could be useful eg. for size calculations
before object init etc
2016-11-10 11:15:43 +01:00
Thilo Graf
3efaac5725 Merge branch 'master' into pu/msgbox
Conflicts:
	src/gui/moviebrowser/mb.cpp
2016-11-10 10:27:22 +01:00
Thilo Graf
098905e8e1 CMenuTarget: outsource CMenuTarget-class
It's required for some inheritations into other classes if include
of menue.h is not wanted
2016-11-10 09:08:47 +01:00
svenhoefer
b24ec63577 - listbox/moviebrowser: replace internal offsets with global defines 2016-11-07 21:10:21 +01:00
svenhoefer
c7942adb8f - listframe: allow round borders 2016-11-07 13:45:55 +01:00
svenhoefer
0f5aa73033 - textbox: fix compilation for generic hardware
error: declaration of ‘clear’ shadows a member of 'this'
2016-11-02 09:55:45 +01:00
svenhoefer
8dfdcee894 Merge branch 'master' into pu/moviebrowser 2016-10-31 23:19:47 +01:00
svenhoefer
0b504f8c60 - textbox: add clear() function 2016-10-31 23:06:47 +01:00
Thilo Graf
dbe8007882 Merge branch 'master' into pu/msgbox 2016-10-29 20:49:42 +02:00
Thilo Graf
27dc0228a5 components/widget: add doxygen config file to create documentations
If you want to create a documantation,
please move into current directory that contains the 'Doxyfile' and do execute command

''doxygen Doxyfile''

This creates usually a subdirectory named /doc/html/
This contains documentation contents in html format.
Open /doc/html/index.html in your browser and you will see contents.
2016-10-29 20:47:57 +02:00
Thilo Graf
aae4411d03 Merge branch 'master' into pu/msgbox 2016-10-29 12:38:17 +02:00
svenhoefer
1fc717f56f Merge branch 'master' into pu/moviebrowser 2016-10-29 12:26:05 +02:00
M. Liebmann
74b0ce7f70 CKeyboardInput: Make saveScreen changeable with forceSaveScreen() 2016-10-29 10:38:06 +02:00
M. Liebmann
0e22860ac0 CStringInput: Make saveScreen changeable with forceSaveScreen() 2016-10-29 10:38:06 +02:00
svenhoefer
f7f76b0dd9 - listframe: add some needed get-members 2016-10-29 10:01:24 +02:00
svenhoefer
3f28e50c84 - textbox: add member to get background-radius 2016-10-29 10:00:25 +02:00
Thilo Graf
fa9e34fcca Merge branch 'master' into pu/msgbox 2016-10-28 21:19:09 +02:00
svenhoefer
002277fb5f - textbox: fix box width in round corners mode 2016-10-28 09:55:40 +02:00
Thilo Graf
9b9d2542e6 Merge branch 'master' into pu/msgbox 2016-10-28 08:05:34 +02:00
Jacek Jendrzej
83976f40b4 src/gui/widget/menue.cpp fix segfault if items is empty 2016-10-27 17:06:12 +02:00
Thilo Graf
ae96d48e0f Merge branch 'master' into pu/msgbox 2016-10-27 12:19:09 +02:00
Thilo Graf
f2b781dd6d CMsgBox: apply order of color buttons like on remote control
Ensures unified conventions over gui.
2016-10-27 12:17:29 +02:00
Thilo Graf
f1e4723964 CMsgBox: add option for No Yes button arrangement
Useful if order of red and green buttons must be changed.
Return values are untouched.
2016-10-27 12:17:24 +02:00
svenhoefer
99a9f8a7e5 - textbox: fix lineBreakWidth calculation 2016-10-27 11:02:18 +02:00
Thilo Graf
28acb0fefa Merge branch 'master' into pu/msgbox 2016-10-27 10:13:45 +02:00
M. Liebmann
a3e0a0e917 CMenuWidget::saveScreen: Fix segfault 2016-10-26 15:16:11 +02:00
M. Liebmann
f396037078 CExtendedInput: Add saveScreen & restoreScreen() functions 2016-10-26 15:16:11 +02:00
Thilo Graf
d2038a499e Clean up: remove unused files 2016-10-26 10:25:10 +02:00
Thilo Graf
3a6f9e5ffa CMsgBox: add missing disableTimeOutBar()
addendum to
CHintBox: move showTimeOutBar() to protected, add params to enableTimeOutBar()
2016-10-26 09:55:55 +02:00
Thilo Graf
be5ab3ab57 Merge branch 'master' into pu/msgbox 2016-10-25 11:47:33 +02:00
svenhoefer
a8c4bdb7de - listframe/moviebrowser: add round corners to scrollbar 2016-10-25 11:06:12 +02:00
svenhoefer
be9143a511 - textbox: fix round corners/scrollbar handling 2016-10-25 11:06:12 +02:00
Thilo Graf
a80b861cb5 CHintBox: move showTimeOutBar() to protected, add params to enableTimeOutBar()
Explicit call of disableTimeOutBar() after exec() is required to ensure
we have no timebar opened objects. I'm not shure, but otherwise crashs
could be possible.

showTimeOutBar() is required for OnTimer(). It doesn't need any
parameter.
2016-10-25 08:53:23 +02:00
Thilo Graf
527e65df77 CMsgBox: add doc for CMsgBox 2016-10-24 10:31:28 +02:00
Thilo Graf
a5ce26dfd9 CHintBox: try to optimize height and width of message window 2016-10-24 10:31:28 +02:00
Thilo Graf
21e8188b5b CMsgBox: use default text mode parameter with scroll for all derivatives 2016-10-24 10:31:28 +02:00