Commit Graph

1619 Commits

Author SHA1 Message Date
seife
4a23449c8e framebuffer: make table of circle values static
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@100 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 21:30:32 +00:00
seife
115ba99f2e neutrino: rework infoviewer
Make the infoviewer more "tuxbox-like". The default appearance should
only change marginally, but this provides infrastructure to:
*) disable the crypto icons (default if --disable-blinkenlights)
*) resize the infobar better to adapt to changed font sizes (not yet
   perfect, but better than before)
*) always vertically center the icons in the button bar (red green blue
   and AC3/16:9 etc)
The one thing visible immediately is that the infobar is always drawn
at the same height, regardless if the buttonbar is drawn below or not.
Originally I did it that way because a) the code was simpler and b) I
liked it better. If this is an issue, please report an I can change that.

I deliberately did not touch the display in file playback mode, this can
be done later once potential issues are shaken out.

Tis is a massive change, so I expect it to be not perfect. Please report
anything you find.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@98 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 21:08:35 +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
satbaby
49e009134b port rounded corner code from tuxbox CVSuse getScreenStartX(),getScreenStartY(),h_max(),w_max() routines
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@87 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-17 09:58:55 +00:00
mws
ed6d4984e8 unused stuff commented
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@84 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:07:49 +00:00
mws
1319399ca0 move warning to fixme
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@83 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:07:24 +00:00
mws
443fa900c5 fix init - please CHECK for me it is an uninited pointer...
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@76 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:02:05 +00:00
mws
dfda4e0639 unused stuff commented
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@75 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:01:19 +00:00
mws
25f33a3d89 unused stuff commented
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@74 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:00:58 +00:00
mws
4f346c1209 move warning to fixme. comment dprint statement
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@73 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:00:07 +00:00
mws
025ccf5ccc comment warning off
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@72 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 15:59:29 +00:00
mws
5a7570a6ba fix Makefiles to comply to C and CPP rules
announcement -Wall -Werror will force compile breaking in
the near future. 



git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@58 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 14:24:21 +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
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
af169c19ff framebuffer/pictureviewer: add functions to query icon size
Add infrastructure to query icon size as in tuxbox neutrino.
TODO: those functions are yet to be tested for non-.raw icons ;)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@44 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-13 18:10:29 +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
seife
5345573e5e fontrenderer: improve freetype error handling
* freetype errors are != 0, not < 0, fix that to avoid segfaults in
  case of invalid fonts
* unlock the render mutex in case of an error

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@42 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-13 12:25:33 +00:00
satbaby
7bc782752b Possible Resource leak: fd
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@35 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-08 17:57:31 +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