Commit Graph

30 Commits

Author SHA1 Message Date
Thilo Graf
6e310a8157 comments: fix copy paste errors 2017-08-28 12:16:45 +02:00
Thilo Graf
17a9c691da CHintBox: use OFFSET_INNER_MID as defaul value for W_RAME 2017-02-26 21:29:53 +01:00
Thilo Graf
85fc37090e hintbox.h: use calculated dimensions as default
Useful for possible different screen resolutions.
2017-02-26 21:29:53 +01:00
Thilo Graf
1d8de839d5 CHintBox: add possibility to left hintbox with RC_up and RC_down
RC_up and RC_down are used for text scroll, but most message texts
are small and no scroll mode is required. In case of large texts
it should falling back to scroll mode.
2017-01-11 11:32:32 +01:00
Thilo Graf
c60accaeae CHintBox: add overloaded version of setMsgText() with locale parameter 2017-01-05 22:53:47 +01:00
Thilo Graf
10523d8ad4 CHintBox/CMsgBox: reduce minimal dimensions
Better display for smaller texts.
2017-01-05 22:53:44 +01:00
Thilo Graf
4382daf5e4 Message timeout: try to fix timeout defines
Some parameters were confused.
2016-12-08 12:54:37 +01:00
M. Liebmann
1d3a047f6b CHintBox/CMsgBox: Add default icon for header (NEUTRINO_ICON_INFO) 2016-11-27 22:04:52 +01:00
Thilo Graf
8b97f72ed1 Messages: try to fix API message handling
Passed timeout for messeages an popup's fired by yWeb API was not really
ok.
For popups now we have a setting with default value of 6 seconds timeout
Popups fired with ShowHint() use this as default. Value of 0 and -1
are ignored.
Messages fired with ShowMsg() should be fixed and interpret
value 0 or -1 as no timeout and will remain on the screen.
2016-11-22 10:32:10 +01:00
Thilo Graf
075917e32d CHintBox: remove center text mode on used picon 2016-11-11 23:10:39 +01:00
Thilo Graf
3193fef4c6 CHintbox: enlarge possible max height
Better use of available screen size for many lines
2016-11-11 21:42:07 +01:00
Thilo Graf
7f5a576795 CHintBox: try to fix truncated chars
Last chars were truncated. Indent and titel text were not considered.
2016-11-11 21:42:07 +01:00
Thilo Graf
e3f51f2c91 CHintBox/CMsgBox: rework text handling and dynamic size behavior 2016-11-10 11:18:56 +01:00
Thilo Graf
4bdd5e11a9 CHintBox: add member to get maximal required width 2016-11-10 11:15:43 +01:00
Thilo Graf
a80b861cb5 CHintBox: move showTimeOutBar() to protected, add params to enableTimeOutBar()
Explicit call of disableTimeOutBar() after exec() is required to ensure
we have no timebar opened objects. I'm not shure, but otherwise crashs
could be possible.

showTimeOutBar() is required for OnTimer(). It doesn't need any
parameter.
2016-10-25 08:53:23 +02:00
Thilo Graf
a5ce26dfd9 CHintBox: try to optimize height and width of message window 2016-10-24 10:31:28 +02:00
Thilo Graf
969e2fe600 CHintBox: add doc with doxygen tags 2016-10-24 10:31:28 +02:00
Thilo Graf
2952dcc124 CHintBox: fix text mode pass
Rquired in inherited classes
2016-10-24 10:31:28 +02:00
Thilo Graf
c035b2fc15 CHintBox: add space for timeout bar 2016-10-24 10:31:27 +02:00
Thilo Graf
cb3699deb5 CHintbox/CMsgBox: add vizualized timeout bar 2016-10-24 10:31:27 +02:00
Thilo Graf
b9d44a3fc8 CHintbox: use default text frame depends from default height and width 2016-10-24 10:31:27 +02:00
Thilo Graf
3b60a55f59 CHintBox: reduce window size for used auto size depends on text content 2016-10-24 10:31:26 +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
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
svenhoefer
0f45e26728 - hintbox: allow plain neutrino locales in bodytext 2014-12-22 09:15:26 +01:00
svenhoefer
6995e1a765 - adapt ShowHint handling from martii's neutrino-mp 2014-01-22 12:11:52 +01:00
micha-bbg
2ddfd01562 * CHintBox / CHintBoxExt: better draw
- Correct calculation of box width in CHintBoxExt
- Text display in CHintBox and CHintBoxExt centered


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2058 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-01-14 05:35:53 +00:00
focus
b8c1fa5cc1 * reworked CA menu code
* added support for internal cardreaders for future conax support
* added inactivity shutdown timer for EuP
WARNING: new libcoolstream and libOpenThreads needed.



git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@925 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-07 10:00:52 +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
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