Commit Graph

3768 Commits

Author SHA1 Message Date
Thilo Graf
ca42d9ba74 CComponentsHeader/Window: add possibility to return header height 2013-03-18 12:04:47 +01:00
Thilo Graf
c17e2e5d6c CTestMenu: remove minitv sample
Can not be displayed here nicely.
2013-03-18 12:04:42 +01:00
Thilo Graf
69476903ee CComponentsForm/PIP: ensure hiding of minitv during hide of forms
Handling of minitv items are different to other item types
and need an explizit call of hide(). So it is possible to hide a form-
object without a extra call of hide() for minitv objects.
2013-03-18 12:04:37 +01:00
Thilo Graf
d87d0754e0 CComponentsWindow: add constructors with parameters for caption and icon 2013-03-18 12:04:35 +01:00
Thilo Graf
2b41601d11 CTestMenu: modifie some samples to call header 2013-03-18 12:04:32 +01:00
Thilo Graf
544e3bb8ef CComponentsHeader: init text always before paint header 2013-03-18 12:04:29 +01:00
Thilo Graf
4a931af6ef CComponentsForm/Header/Icons/Window: try to fix multiple inits and paints
Some items had multiple inits and some calls of clearCCItems()
have caused segfaults, hope this fix this.
2013-03-18 12:04:25 +01:00
Thilo Graf
da356d94da CComponentsHeader/Icon: use inherited destructor
Inherited destructor contains identic code.
2013-03-18 12:04:21 +01:00
Thilo Graf
de330ac39c CComponentsWindow: remove refresh()
initCCWItems() does the same, but is private
2013-03-18 12:04:16 +01:00
Thilo Graf
74b2dde248 CComponentsWindow: using current screen settings for default dimensions 2013-03-18 12:04:13 +01:00
svenhoefer
b0469b196e - fix width of pip-boxes in streaminfo and imageinfo 2013-03-17 20:19:13 +01:00
svenhoefer
3584a11872 - fix my last commit 0064c6c (recalc height) 2013-03-17 20:15:17 +01:00
svenhoefer
0064c6c704 - channellist: fix dimensions when using very large fonts
* paint scrollbar over full height of main box
2013-03-16 23:47:23 +01:00
Jacek Jendrzej
a501b6efeb progresbar -add colored & vertical design , ported from neutrino-mp 2013-03-11 14:40:42 +01:00
Jacek Jendrzej
be2966035f progressbar-menu-tomworld 2013-03-11 14:40:36 +01:00
Stefan Seyfried
f63ddb9cce neutrino: fix most hardcoded paths 2013-03-11 13:32:06 +01:00
Stefan Seyfried
53dcd77d4a fix exec_prefix for native build 2013-03-11 13:32:06 +01:00
Stefan Seyfried
d0f9836173 neutrino: allow empty user bouquets in the bouquetlist 2013-03-11 13:32:06 +01:00
Stefan Seyfried
f8aacb7a10 channellist: preset favorite bouquets when adding channels
when adding channels from the channellist context menu, the
useful targets are the favorites bouquets, so pre-select them
2013-03-11 13:32:06 +01:00
Stefan Seyfried
99e2ff32c9 channellist: don't change bouquetmode when adding favs
when adding a channel to favorites from the channellist contextmenu
the favorites bouquet was chosen, which is not helpful if further
favorites should be added
2013-03-11 13:32:06 +01:00
Stefan Seyfried
5acf5a489b bouquetlist: only show active buttons 2013-03-11 13:32:06 +01:00
Stefan Seyfried
0613e43736 bouquetlist: fix width calculation 2013-03-11 13:32:06 +01:00
Stefan Seyfried
2f677a5ffe bouquetlist: mark autogenerated bouquets as readonly
this at least prevents modification from the context menu,
needs more work in the service->bouquetmanagement menus
2013-03-11 13:32:06 +01:00
Stefan Seyfried
04cd53f45d screenshot: fix invalid cast in debug message 2013-03-11 13:32:06 +01:00
Stefan Seyfried
119f87f97b my_system: return errno, silence trivial error message 2013-03-11 13:32:06 +01:00
Stefan Seyfried
45d8c176ec CVolume: fix border around volume bar 2013-03-11 13:32:05 +01:00
Thilo Graf
061700a5f8 CComponentsPicture: fix build
Build can be broken with other build environments
2013-03-08 08:44:05 +01:00
Thilo Graf
bdce50780d CAudioPlayerGui: set missing corner mode for info box 2013-03-06 11:51:38 +01:00
Thilo Graf
3ed9af87ad CComponents: split cc_base.cpp
It's easier to work with smaller files.
Most files contain only one cc-class and their names are
derived on the particular class that is contained therein.
2013-03-06 11:28:18 +01:00
Thilo Graf
152d40c6cd Bedit: adapt for infobox
The combination of infobox handling and screen size management doesn't
really fit together. Particular it  could be better implemented some
inheritance, because incorporated functions and variables are
redundant and so the classes can be better coordinated.
Moreover, it doesn't seem sensible to use only a part of the display.
The use of full screen instead of window could simplify a lot.
2013-03-06 11:28:18 +01:00
Thilo Graf
10f429ee0f CComponents: move components.cpp to cc_base.cpp, move types to own header 2013-03-06 11:28:18 +01:00
Thilo Graf
ba4e026b33 CChannelList: fix compile error
clearItem2DetailsLine()candidate expects 1 argument, 2 provided
2013-03-06 11:28:17 +01:00
Thilo Graf
44346c6417 CComponents: fix some includes
Included header files don't fit after move of components.
2013-03-06 11:28:17 +01:00
Stefan Seyfried
c9eafa208e pictureviewer: compatibility with giflib-5.x 2013-03-06 11:28:17 +01:00
Thilo Graf
ce2e95cc5a CChannelList: revert of some implementations of CComponents classes
Current state of CChannelList is mostly not compatible with CC-classes and
implementations are  to expensive at the moment, because more preparations are necessary.
2013-03-06 11:28:17 +01:00
Thilo Graf
399eb696d6 CComponents: add some new variables and parameters and modifie debug output
- add var for object index
  can be usefull for identifications of objects for focus operations soon

- add default value for screen  size (30%) to CComponentsPIP constructor
  most size we mostly use is 30% of size

- add setters for screen_w and screen_h
  also this can be usefull t adapt screen sizes e.g. during
  runtime operations
2013-03-06 11:28:17 +01:00
Thilo Graf
2940c4e5f6 CComponents: add more debug output and fix typo in enum CC_ITEMTYPES 2013-03-06 11:28:16 +01:00
Thilo Graf
ec0a91813a CChannelList: devel_cc fix merge errors
var full_width was lost during merge, this fixes
header and details width
2013-03-06 11:28:16 +01:00
Thilo Graf
6175fd989d CComponentsItem: add members getItemType(), cc_item_type
Small helper for detection of item types.
This could be useful, if it is necessary, to track these at runtime or
debugging, because it's not really detectable, which items just be used.
e.g forms could contain very much items, but many of these items
are inherited from CComponentsItem and an assignment to a certain subclass.
2013-03-06 11:28:16 +01:00
Thilo Graf
9605d7438f CComponentsHeader: add member 'setHeaderButtons()'
Gives possibility to set default button types,

possible parameter types are:
CC_BTN_HELP, CC_BTN_INFO, CC_BTN_MENU, CC_BTN_EXIT
2013-03-06 11:28:16 +01:00
Thilo Graf
fa9ffdd46e CComponentsWindow: add sub class CComponentsWindow 2013-03-06 11:28:16 +01:00
Thilo Graf
7ac1550277 CMenuWidget: branch devel_cc Fix merge errors
Some braces were lost during the last merges.
2013-03-06 11:28:16 +01:00
Thilo Graf
6cdb948dd4 CComponents: change of debug marking for better recognition during logging 2013-03-06 11:28:15 +01:00
Thilo Graf
b9dd3e21bf CComponentsForm: add virtual members to replace cc-item 2013-03-06 11:28:15 +01:00
Thilo Graf
a9caa07318 CComponentsHeader: reset icon width, if no icon is defined 2013-03-06 11:28:15 +01:00
Thilo Graf
764dbcd429 CComponentsPicture: add missing define of dimensions after init 2013-03-06 11:28:15 +01:00
Thilo Graf
14393b36d9 CTestMenu: add sample code for removeHeaderButtons() 2013-03-06 11:28:15 +01:00
Thilo Graf
9150088088 CComponentsHeader: fix broken addHeaderButton() and removeHeaderButtons()
Simple push_back() has no effect, buttons must be initialized and destroy
of cch_btn_obj is an easy way for clean up.
2013-03-06 11:28:14 +01:00
Thilo Graf
79dd6456b0 CComponentsHeader: add enums for header items 2013-03-06 11:28:14 +01:00
Thilo Graf
264f4bb951 CTestMenu: add example to exchange text with an image-item, for header 2013-03-06 11:28:14 +01:00