Commit Graph

893 Commits

Author SHA1 Message Date
focus
9a56e4cb03 Set minimum menu width to 30%
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@401 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-23 10:20:53 +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
focus
8e2b5716ae Menu position settings
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@390 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-20 15:12:51 +00:00
striper
a6b765aa78 - fix scaling
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@383 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-18 20:19:56 +00:00
striper
36fe3d571e - fix scaling
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@382 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-18 19:06:12 +00:00
striper
150376bfe0 - add upnp icon
- optimize icon display in infoviewer an menus
- thx bazi98!

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@371 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-18 12:34:15 +00:00
striper
726d616899 - scale colorchooser with fontsize
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@364 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-17 15:41:56 +00:00
striper
b26284ef99 - scale with fontsize
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@359 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-17 11:01:36 +00:00
focus
c4db77cea5 Fix rounding
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@354 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-16 17:46:34 +00:00
striper
7a1e3a451c - add new icons (thx again Alfredo01!)
- adjust icon width of bottons
- todo: fix alignment of blue icon in infoviewer

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@337 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-14 16:12:13 +00:00
focus
35d7d555b6 Removed libcontrold dependency
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@336 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-14 13:09:07 +00:00
focus
e642e6f345 Fix black color corruption after scan; Change progressbar logic to follow progressbar_color setting, if bar created with blink enabled
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@333 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-13 10:52:19 +00:00
focus
6f10282611 Fix crash, if some of r/g/b is 0
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@330 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-12 18:02:33 +00:00
seife
23abd1c6c2 neutrino: initialize CKeyValue() in constructor, not only on paint()
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@310 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-08 20:47:43 +00:00
seife
86acf8d42f neutrino: fix key value display in keychooser
CMenuSeparator::getString() was actually not unused :)
fix up prototypes of non-const functions so that they can actually
use getString(). fixes the missing key labels in key chooser menu.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@309 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-08 20:47:40 +00:00
seife
292891db1f neutrino: improve menu width calculation
calculate menu width in paint() instead of addItem()
this allows to cahnge the width of a menu later on dynamically

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@308 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-08 20:47:37 +00:00
seife
d6180e4ab2 neutrino: resize keychooser window with font size
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@307 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-08 20:47:33 +00:00
seife
ee4514cad1 neutrino: fix numbers in menus without digit-icons
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@301 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-07 22:20:34 +00:00
striper
d40e9bca0c - fix some warnings (patch by Houdini)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@300 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-07 22:05:17 +00:00
seife
2d062b870a stringinput: fix literal "double delete" :)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@299 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-07 20:53:52 +00:00
satbaby
c3db76408a change 'long long' tom int64_t'
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@293 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-07 15:10:25 +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
seife
0e9897a200 neutrino: vertically center menu icons
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@290 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-07 12:44:50 +00:00
seife
fd348f036a neutrino: consider menu icon width for calculation of iconOffset
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@289 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-07 12:44:46 +00:00
seife
18dca0f47d neutrino: add possibility to specify minimal menu width
A static window width was specified in pixels before, which is
"problematic". Then it was ignored and menus were automatically
sized to their largest menu item.
Due to popular demand, add the possibility to specify a minimal
window width in percent of screen width. If set to 0 (default),
menus will autosize as before.
Main menu is set to 22% screenwidth.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@288 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-07 12:05:02 +00:00
focus
3fb6607ba0 Mode fb and picviewer cleanup; unify channel logo display code
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@259 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-05 15:26:57 +00:00
seife
09db30e5ed neutrino: implement CMenuSeparator::getString() in menue
this fixes the menu autosize issues with strings in menu separators

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@241 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-31 17:04:52 +00:00
seife
7148987625 neutrino: let menus resize to the needed dimension
Instead of letting the caller of the menuewidget specify the
dimensions, determine them based on the text that is to be
displayed.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@226 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-30 16:48:13 +00:00
focus
95130dee5a All icon file names moved to icons.h; .raw extension removed from icon names
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@219 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-29 14:09:57 +00:00
focus
b554e4ef4e TTX subs menu, not ready yet, just backup of current code
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@184 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-19 11:22:08 +00:00
seife
cadfbe4695 CProgressBar: initialize variable
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@135 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 13:21:06 +00:00
seife
691811695a neutrino: make blinkenlights runtime configurable
Get rid of "--disable-blinkenlights" configure switch. Colored
progress bars can be disabled with "neutrino -noblink" now.
Unfortunately CProgressBar had to be touched again to avoid
ambiguities in the constructor, but should be done for now.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@133 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 12:06:13 +00:00
seife
697e3c6756 neutrino: consolidate CScale and CProgressBar code
Add code for coloured progressbars to CProgressBar class. This
allows to deprecate the CScale code completely (is not used anymore)
and, in a follow-up step, make the progress bar style runtime configurable.

TODO: documentation ;)
      check if all progressbars still behave the same

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@131 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 10:39:40 +00:00
seife
7dcf8fe14d widget/menu.*: add keyval_ext type
instead of adding unneeded default values to all menuchooser options
just to cater for two special cases, add an extra version that does
not need a locale setting but instead takes a char* instead.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@129 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-31 09:34:53 +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
mws
1b13da2617 Mark unused vars as comment
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@104 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-21 16:23:09 +00:00
seife
e2f4d73d78 framebuffer: add infrastructure to center icons vertically
add an additional height parameter to paintIcon() that allows to
center the icons vertically between y and y+h
defaults to 0 == unchanged behaviour

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@92 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 13:36:18 +00:00
seife
601e6b00fc fix build with gcc-4.4.x by adding necessary #includes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@56 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 08:49:21 +00:00
seife
f48a82fa51 improve the progressbar code
* disable "round corners" for the progressbars for now, does not look good
* if the progressbar is less than 5 pixels high, disable the border, this
  helps for the tiny bars in the infobar

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@52 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-14 19:12:23 +00:00
seife
5c56e45a8d add progress bar class, ported from tuxbox.org
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@46 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-13 22:23:26 +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
seife
83d7657b9d neutrino: fix crashes on invalid fonts
with the latest fontrenderer fix, invalid fonts now can lead to
division by zero errors. fix the occurences I found.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@43 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-13 12:25:38 +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