Commit Graph

8559 Commits

Author SHA1 Message Date
Thilo Graf
b3e7e49592 CComponentsFooter: use different select color for button, if count = 1
TODO: 	should be configurable. Not all theme color combinations
	have matched contrasts.
2016-10-24 10:31:26 +02:00
Thilo Graf
5bd4903b27 cc_item.cpp: subtract frame width from the inner radius Box
Is necessary, because otherwise the frame radius would not match with outside radius
This would mean that there are "holes" at the box corners.
So now it seems to work.
2016-10-24 10:31:26 +02:00
Thilo Graf
59e8a17061 CComponentsItem: ensure some dimensions for shadow are not < 0 2016-10-24 10:31:26 +02:00
Thilo Graf
03d010fa29 CComponentsButton: remove enableShadow() from button class
is not required
2016-10-24 10:31:26 +02:00
Thilo Graf
f62ddcf61d cc_item.cpp: remove frame width from boxrad
In framed boxes, frame radius was too big and was looking bad.
Not sure if this is now fixed everywhere (eg. hintboxes)
2016-10-24 10:31:26 +02:00
Thilo Graf
857b494c47 CMsgBox: use same colors for window body, footer and button container 2016-10-24 10:31:26 +02:00
Thilo Graf
9d09bc36ce CMovieBrowser: add current content background color as image backkground
Avoids transparent shadow artefacts during repaint of images
2016-10-24 10:31:26 +02:00
Thilo Graf
9668f89db1 CComponentsPicture: use body color as default clean up color 2016-10-24 10:31:26 +02:00
Thilo Graf
7266628207 CCDraw: add private variable col_shadow_clean
Should help to control shadow clean up in some constallations
2016-10-24 10:31:26 +02:00
Thilo Graf
0f6e8e1f5d CComponentsButton: remove clear()-methode and initVarButton()
clear() killed all button object with all key values and key properties.
So return values of messeage objects was killed.

initVarButton() contains Oobjekt intits to already existant object.
Bad idea, if we init again or pre init with NULL.

Mode pass was missed.
2016-10-24 10:31:26 +02:00
Thilo Graf
ebf2e65b38 CComponentsFooter: remove debug spam 2016-10-24 10:31:26 +02:00
Thilo Graf
3e01cbe1ac CMsgBox: set some alternate keys to default key values 2016-10-24 10:31:26 +02:00
Thilo Graf
b272c407d7 CMsgBox: add colors to debug output 2016-10-24 10:31:25 +02:00
Thilo Graf
e2a1e7dc5b cc_frm_button.cpp/cc_frm_footer.cpp: fix passed parameter
were not passed through
2016-10-24 10:31:25 +02:00
Thilo Graf
375451f0a6 CComponentsForm: add parameters to setSelectedItem() methode
Were not passed to items
2016-10-24 10:31:25 +02:00
Thilo Graf
2e631fd0ce Try to rework footer
* try to fix enableButtonShadow(), seems an init is missing
* shadow fixed
2016-10-24 10:31:25 +02:00
Thilo Graf
eb78743e4a CComponentsItem: unused vars commented out 2016-10-24 10:31:25 +02:00
Thilo Graf
b6185ea78d CComponentsItem: remove frame witdth from boxrad calculation
This fix possible artefacts on the bottom right corner with frame
2016-10-24 10:31:25 +02:00
Thilo Graf
a17d61de8c Shadow: try to optimize shadow areas
* cleanup inner part of box on round corners, frames considered
* adopt implementations in some gui classes
* some debug lines removed
* test menu adopted
* try to fix corner caluculation to avoid transparent holes
2016-10-24 10:31:25 +02:00
Thilo Graf
b233c06af3 CTestMenu: adopt for last changes 2016-10-24 10:31:25 +02:00
Thilo Graf
929b5da892 CComponetnsItem: try to assign shadow areas
TODO: possible crashes on some constellations
2016-10-24 10:31:25 +02:00
Thilo Graf
147246cead cc_types.h: add compatible types shadow types
CC_SHADOW_ON is should compatible
2016-10-24 10:31:25 +02:00
Thilo Graf
363cf101d1 CComponentsFooter: add member enableButtonShadow()
Possibility to pass button properties into button objects
2016-10-24 10:31:25 +02:00
Thilo Graf
779c51bd00 CComponentsFooter: reduced button height for better optical view into footer 2016-10-24 10:31:25 +02:00
Thilo Graf
3477e28cd7 CComponentsItem: fix changeing color on select switching of frames
expand select mode methodes with paremters for frame properties
This should make variables col_frame_sel and fr_thickness_sel superfluous.
2016-10-24 10:31:25 +02:00
Thilo Graf
1888189fb3 CTestMenu: shadow for circle
TODO: not really nice at the moment
2016-10-24 10:31:24 +02:00
Thilo Graf
307b2763bd shadow: paint shadow layer with multiple renderboxes
Should help to paint a clean shadow frame
2016-10-24 10:31:24 +02:00
Thilo Graf
be740c1552 CMsgBox: add option to enable/disable button background
replaces var name btn_contour for better plausibility
2016-10-24 10:31:24 +02:00
Thilo Graf
fc2eb68edc CCDraw: try to fix possible data race 2016-10-24 10:31:24 +02:00
Thilo Graf
dde298b1b7 CMsgBox: rework msgbox classes with Window class implementation
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.

TODO: fix and optimize details
2016-10-24 10:31:24 +02:00
Stefan Seyfried
b8cf8167f4 configure: fix short-filename logic
if configure was not called from absolute path, detection
would fail and huge filenames would be included in binary
(noticed in yocto krogoth release)
2016-10-24 10:00:51 +02:00
Stefan Seyfried
ae345d11d3 system/helpers: allow to build with c++11 compilers 2016-10-24 09:55:32 +02:00
Stefan Seyfried
645da64839 helpers.cpp: include fontrenderer.h
if Font class is used, the header should be included, too :-)
2016-10-24 09:46:05 +02:00
Stefan Seyfried
b5cb683048 driver/record: make CStreamRec non-public
CStreamRec is only used inside CRecordManager::Record, so it
can be implemented completely inside record.cpp. The positive
side effect is that avformat.h is not included everywhere (e.g.
from moviebrowser/mb.h) and thus AVFORMAT_CFLAGS does not need
to be added everywhere to fix build failures.
2016-10-24 09:45:46 +02:00
Stefan Seyfried
5bf115db80 record, streamts: use modern AV_CODEC_ID enums
this allows to build with current ffmpeg
2016-10-24 09:45:23 +02:00
svenhoefer
4d93168cf6 - moviebrowser: show minutes in two-digits format 2016-10-23 21:51:34 +02:00
svenhoefer
850205f898 - colors: change color for marked items under cursor; user's request 2016-10-23 21:45:43 +02:00
Michael Liebmann
db7f7e5e24 Merge pull request #2 from neutrino-mp/master
allow to build (not runtime tested :-) with a current yocto krogoth SDK
2016-10-23 20:06:12 +02:00
Stefan Seyfried
830b5c2aa7 channellist: fix linking without --enable-pip 2016-10-23 17:45:58 +02:00
Stefan Seyfried
b46420506f update_ext: fix build with glibc > 2.21 (open needs mode) 2016-10-23 17:43:16 +02:00
Stefan Seyfried
a40b58fa20 make curl and freetype2 detection crosscompile-friendly 2016-10-23 17:24:07 +02:00
Stefan Seyfried
944a4e4ecd fix Makefiles to include SIGC_CFLAGS
now that the framebuffer class includes libsigc++, the path
to it must be known to all parts using framebuffer.h
2016-10-23 17:22:16 +02:00
Stefan Seyfried
edbe92bf0c acinclude: fix variable expansion issues 2016-10-23 17:19:43 +02:00
Stefan Seyfried
4d4dad4536 acinclude: better fix for pkg-config 0.28 behaviour
Old pkg-config always retured a non-empty string for --cflags.
It always contained at least one bogus space. New pkg-config
does not do that. Do not rely on --cflags being non-empty.
2016-10-23 17:19:30 +02:00
Sven Höfer
e9181efdad Merge pull request #1 from neutrino-mp/master
remove obsolete libtriple and unused LIBCS_* flags
2016-10-23 14:11:12 +02:00
Stefan Seyfried
f6d09bd0ef configure: remove unused LIBCS_* variables
(forward ported neutrino-mp commit 45b4bb0488)
2016-10-23 12:23:05 +02:00
Stefan Seyfried
57078ed23d remove obsolete embedded libtriple
the code is unmaintained and probably non-functional, everyone
should use libstb-hal instead
(forward ported neutrino-mp commit d2d8218885)
2016-10-23 12:19:06 +02:00
TangoCash
7bd568dc9c fix overlapping remote timers 2016-10-23 11:16:42 +02:00
TangoCash
d0b9b3b4a5 fix empty ip 2016-10-22 22:42:03 +02:00
svenhoefer
1530bb8e8c - locale: fix moviebrowser spacer
trailing whitespace was removed by mistake with 'git rebase --whitespace=fix' :/
2016-10-21 23:41:22 +02:00