Commit Graph

47 Commits

Author SHA1 Message Date
svenhoefer
365f4951a1 - listframe: fix calculation of m_nLinesPerPage (part 2)
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-17 22:19:42 +01:00
svenhoefer
f0b9588b82 - listframe: fix alignment of headerlist to content below
* since scrollbar isn't paint over the full height we have to reduce
  the netto width by a possible scrollbar width

Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-17 22:19:35 +01:00
svenhoefer
47c8f071c8 - listframe: simplify calculation of m_cFrameScrollRel.iHeight
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-16 23:26:45 +01:00
svenhoefer
aed34c5907 - listframe: fix calculation of m_nLinesPerPage
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-16 23:26:28 +01:00
svenhoefer
3b634bd43b - listframe: add minimal offset to title line
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-16 23:26:11 +01:00
svenhoefer
49883a8775 - listframe: add minimal offset to header line
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-16 23:25:45 +01:00
svenhoefer
de0d46e085 - listframe: fix m_nNrOfPages value for empty pages
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-16 23:25:25 +01:00
svenhoefer
a6a5170732 - listframe: fix calculation of width for rendering titles
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-16 23:25:08 +01:00
Thilo Graf
3a7051c4fd listframe.cpp: use header colors in subheader 2019-02-11 11:14:12 +01:00
Thilo Graf
8c90841838 listframe.cpp: fix overlapping header line on scrollbar 2019-02-11 11:14:12 +01:00
Thilo Graf
55ce53caae listframe.cpp: remove unneeded offset
Bottom of text was over painted
2019-02-11 11:14:12 +01:00
Thilo Graf
99c63a1268 listframe .cpp: use color settings for header text and background 2019-02-11 11:14:12 +01:00
Jacek Jendrzej
527c0de33a null pointer check 2017-08-23 13:03:34 +02:00
svenhoefer
217dd96360 - listframe: use CComponentsScrollbar
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-15 21:48:29 +02:00
svenhoefer
fe5f84c1d0 - scrollbars: avoid usage of COL_SCROLLBAR_PASSIVE_PLUS_0 ...
... outside of CComponentsScrollBar(). Since the color-changes in
89bda2d the non-CC scrollbars looks weird.
2017-04-24 12:29:52 +02:00
Stefan Seyfried
648c00f26a move gui/color.h includes from headers to cpp files 2017-02-07 17:23:42 +01:00
Stefan Seyfried
2303d94300 replace fontrenderer.h include with forward declaration
in order to flatten the build dependency tree further, include
fontrenderer.h directly where needed, in header files a forward
declaration is enough
2017-02-07 17:23:42 +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
a8c4bdb7de - listframe/moviebrowser: add round corners to scrollbar 2016-10-25 11:06:12 +02:00
svenhoefer
bd2f2cb849 - listframe/moviebrowser: use getItemColors function 2016-10-19 13:21:58 +02:00
svenhoefer
91c668efca - listframe: replace some color defines with original defines 2016-10-19 13:21:58 +02:00
vanhofen
6629b64d6c - colors: add COL_SCROLLBAR_PASSIVE wrapper 2016-10-10 14:19:54 +02:00
vanhofen
7e7d4e5fc1 - colors: add COL_SCROLLBAR_ACTIVE wrapper 2016-10-10 14:19:54 +02:00
Jacek Jendrzej
2b5e7b5ba3 use empty to check string 2015-01-09 17:15:11 +01:00
[CST] Focus
d07bbe4a0a gui/widget/listframe.cpp: fix extra refreshes;
fix list refresh on every line scroll;
fix page-up scroll
2014-09-22 13:18:16 +04:00
martii
139becd4f9 gui/widget/listframe: change up/down to use setSelectedLine() (fix II) 2014-09-22 11:48:47 +04:00
martii
5ba9c99a9a gui/widget/listframe: change up/down to use setSelectedLine() (fix) 2014-09-22 11:48:42 +04:00
martii
47100f9920 gui/widget/listframe: change up/down to use setSelectedLine() 2014-09-22 11:48:38 +04:00
[CST] Focus
7d966e8363 gui/moviebrowser.cpp: add support for marked file list to play 2014-09-18 18:43:55 +04:00
martii
c6388a7106 gui/widget/listframe: don't let m_nCurrentLine become < 0 2014-09-18 18:43:55 +04:00
martii
e387454ef6 gui/widget/listframe: change previous commit to use setSelectedLine() 2014-09-18 18:43:55 +04:00
martii
cd310b3ca8 gui/widget/listframe: change page-up/-down scrolling behaviour 2014-09-18 18:43:55 +04:00
svenhoefer
649d1b1f9d - change RenderString() default to UTF8 2014-06-11 23:07:13 +02:00
Michael Liebmann
c60c5c5ce3 Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values
2013-07-21 22:00:58 +02:00
micha-bbg
8c5a09712e * Moviebrowser: Fix segfault if movie list is empty 2012-11-27 13:01:19 +01:00
micha-bbg
964c6f9af0 * Moviebrowser: Show rec icon when recording in progress. 2012-11-27 01:20:13 +01:00
satbaby
a3bfab0bcd remove doubles include 2012-09-11 20:31:33 +02:00
Thilo Graf
d1f22aa20c *includes: add global.h 2012-08-21 09:48:22 +01:00
thilo
4732d30084 *neutrino: fix scrollbar movement on selected last item
This effect is observable in moviebrowser.
Scrollbar don't move, if you selected the last item. This should fix this.

see also: http://www.dbox2-tuning.net/forum/viewtopic.php?p=379439#p379439

thx Gaucho316 for patch

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1498 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-05-31 08:15:01 +00:00
seife
2b774400bd moviebrowser: specify widths and height in percent of screen size
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1370 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-01 17:02:35 +00:00
seife
af43e4267f neutrino: make CListFrame not shorten lines (affects moviebrowser)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@990 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-01-01 16:48:55 +00:00
satbaby
00d9b35c08 -add menu rounded corners on/off
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@395 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-20 21:29:30 +00:00
satbaby
8f59cc96ec change 'long long' tom int64_t'; change variable buf to new delete;
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@291 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-07 14:32:21 +00:00
mws
6e718d8987 fix shadow stuff and initializers....
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@118 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-23 12:08:43 +00:00
seife
b0b471210f neutrino: port rounded corner code from tuxbox CVS
This allows to set all four corners separately. The default is
now to have all four corners rounded if radius is > 0 in paintBoxRel.
It also places hard coded integer numbers for CORNER_TOP and
CORNER_BOTTOM with the respective #defines.
This should make it much easier to port over code parts from tuxbox.org.
However, there are probably bugs and oversights in that I did not find
yet. Reports are welcome.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@45 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-13 22:23:23 +00:00
mrcolor
bc5bd4154e our current experimental Neutrino branch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@27 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-08 11:05:11 +00:00