Commit Graph

4369 Commits

Author SHA1 Message Date
[CST] Focus
138160ae4f libcoolstream/ca_cs.h: sync header 2013-03-08 17:56:03 +04:00
[CST] Focus
0ae2349af8 Makefile.am: add libca-sc 2013-03-08 17:55:24 +04:00
[CST] Focus
30d650999d lib/libcoolstream/video_cs.h: sync header 2013-03-08 17:33:28 +04:00
[CST] Focus
a22dc19e9d zapit/src/capmt.cpp: send channel_id in place of tpid with capmt 2013-03-08 17:31:54 +04:00
[CST] Focus
e05ab5297d gui/channellist.cpp: use zapit client for PiP 2013-03-08 14:14:26 +04:00
[CST] Focus
a69b37a929 gui/keybind_setup.cpp: add bind setup for direct pip setup and live/pip swap 2013-03-08 13:36:40 +04:00
[CST] Focus
ded8f0630c gui/pipsetup.cpp: close on key_pip_setup 2013-03-08 13:35:57 +04:00
[CST] Focus
29fbc94bb9 zapit/src/zapit.cpp: handle PiP start/stop channels 2013-03-08 13:33:24 +04:00
[CST] Focus
b95859da7c neutrino.cpp: add direct keys to config PiP, swap live and PiP channels 2013-03-08 13:24:53 +04:00
[CST] Focus
35f2ac5527 locals: add locales for additional PiP keys 2013-03-08 13:23:08 +04:00
[CST] Focus
f4b6177076 zapit/lib/zapitclient.cpp: add start/stop commands got PiP 2013-03-08 13:22:27 +04:00
Thilo Graf
061700a5f8 CComponentsPicture: fix build
Build can be broken with other build environments
2013-03-08 08:44:05 +01:00
[CST] Focus
9dcf32cdd2 libconfigfile/configfile.cpp: fix typo while merging 2013-03-07 17:20:53 +04:00
[CST] Focus
aa60c85768 Merge branch 'next' of coolstreamtech.de:cst-public-gui-neutrino into next
Conflicts:
	lib/libconfigfile/configfile.cpp
	src/system/setting_helpers.cpp
	src/zapit/src/femanager.cpp
2013-03-07 17:10:57 +04:00
[CST] Focus
65bd112d78 driver/rcinput.cpp: add missing sleep, sub, pos keys 2013-03-06 15:42:23 +04: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
Thilo Graf
c039b4ae5c CComponentsHeader: move init of items ito cobstructors
Inherited methodes like insertCCItem, removeCCItem ... don't work
nice, if cc-items are ititialized too late. If we init in constructors,
we can manipulate header items, otherwise not.
clearCCItems() is to find in the destructor, and should be called with
delete.
Handle with care!
2013-03-06 11:28:14 +01:00
Thilo Graf
2e729ffdb9 CComponentsForm: prevent crashs, if no item is available in v_cc_items
insertCCItem() and removeCCItem() occured crashes, if no items was added.
Also added debug messages.
2013-03-06 11:28:14 +01:00
Thilo Graf
41165d7cb2 CComponentsHeader: add member initCCButtonFormSize()
This moves caclulation from initCCHeaderButtons() to its own
member.
2013-03-06 11:28:14 +01:00
Thilo Graf
62f44d7a8c CComponentsHeader: move int of default buttons into its own member 2013-03-06 11:28:13 +01:00
Thilo Graf
189ba5b5e6 CTestMenu: add sample code CComponentsHeader 2013-03-06 11:28:13 +01:00
Thilo Graf
4fb3cde45f CComponentsHeader: fix button display
Calculation of button offset was broken.
2013-03-06 11:28:13 +01:00
Thilo Graf
fb3646c9be CComponentsForm: do not paint out of form
If is x or y position of embedded item out of allowed form dimension, then
set a new x or y value to item.
Added debug message should help to find issues.
2013-03-06 11:28:13 +01:00
Thilo Graf
3644abec66 CComponentsHeader: add parameter buttons onto constructors
This adds default buttons to header
2013-03-06 11:28:13 +01:00
Thilo Graf
562b091e66 CComponentsHeader: move init members into its own member 2013-03-06 11:28:12 +01:00
Thilo Graf
949867e4ac CComponentsForm: add virtual members to manipulate ccitems 2013-03-06 11:28:12 +01:00
Thilo Graf
b330d78ff2 CComponentsHeader: add header buttons to header form
Use addHeaderButton() to add any button icon ont header form.
The buttons have a right alignment, this means, the first button
is on the right boarder of header.
For existing instances it's recommended to remove old button icons
before add new buttons, otherwise icons will be append.

See also sample code in CTestMenu.
2013-03-06 11:28:12 +01:00
Thilo Graf
b251e2a001 CTestMenu: add sample code for class CComponentsIconForm 2013-03-06 11:28:12 +01:00