Commit Graph

66 Commits

Author SHA1 Message Date
Stefan Seyfried
77c07386e6 dboxinfo: avoid unnecessary 64bit math
The kernel uses 'unsigned long' for those values anyway,
so there is no need for 'long long' in userspace.
2014-01-05 19:01:59 +01:00
Stefan Seyfried
5d157456ed dboxinfo: remove impossible case
The kernel does (and has always) report memory in
kib units, so there is no need to check this.
2014-01-05 18:53:23 +01:00
Stefan Seyfried
8946c6ebf8 dboxinfo: fix partition size display 2014-01-05 18:34:51 +01:00
Stefan Seyfried
56a7262d5d Merge remote-tracking branch 'check/next-cc' 2014-01-05 18:31:31 +01:00
svenhoefer
621a712e81 - dboxinfo: show uptime even more human readable 2014-01-04 12:26:08 +01:00
martii
535f5dfc67 gui/dboxinfo: show remote volumes, too 2014-01-04 12:26:08 +01:00
Michael Liebmann
fb5aa513d6 - dboxinfo: prevent rendering outside window 2014-01-04 12:26:08 +01:00
svenhoefer
19bcfa5329 - dboxinfo: show uptime more human readable; show load average 2014-01-04 12:26:08 +01:00
svenhoefer
f2f2e208d6 - dboxinfo: don't show frontends 2014-01-04 12:26:08 +01:00
martii
5e9af14eb5 gui/dboxinfo: adjust spacing 2014-01-04 12:26:08 +01:00
martii
06a95008fd gui/dboxinfo: unbreak height calculation 2014-01-04 12:26:08 +01:00
martii
9285f9cdbd gui/dboxinfo: slightly re-arrange window 2014-01-04 12:26:08 +01:00
martii
b95f7298e9 gui/dboxinfo: fix widths 2014-01-04 12:26:08 +01:00
martii
bb7f90681f gui/dboxinfo: rework table alignment 2014-01-04 12:26:08 +01:00
Stefan Seyfried
1cf6ff39e4 fix sign 2014-01-01 14:42:42 +01:00
svenhoefer
3bb33bb9ef - dboxinfo: move init of mount-head to mount-section 2013-12-30 21:44:48 +01:00
svenhoefer
673a6dc424 - dboxinfo: use CComponents to paint header 2013-12-30 21:32:10 +01:00
martii
6c117ff03e gui/dboxinfo: cleanup 2013-12-30 21:07:09 +01:00
martii
74e454fc80 gui/dboxinfo: rename some poorly named variables 2013-12-30 21:06:11 +01:00
Stefan Seyfried
d5981cb299 dboxinfo: use hw_caps instead of parsing /proc/cpuinfo 2013-12-30 02:32:50 +01:00
martii
6fff156164 gui/dboxinfo: move cpu load calculation to dedicated thread ...
... that keeps history; show load graph
2013-12-30 01:51:20 +01:00
svenhoefer
7fbe179a1f Revert "gui/dboxinfo: move cpu load calculation to dedicated thread ..."
This reverts commit ce18925333.
2013-12-30 01:51:08 +01:00
Stefan Seyfried
057372317d dboxinfo: fix wrong width calculation of recording device label 2013-12-30 01:36:20 +01:00
svenhoefer
ce18925333 gui/dboxinfo: move cpu load calculation to dedicated thread ...
... that keeps history; show load graph
2013-12-30 01:34:07 +01:00
Stefan Seyfried
81f71c2847 dboxinfo: use more suitable column widths 2013-12-30 01:31:57 +01:00
Stefan Seyfried
de72220951 dboxinfo: right align (instead of centering) disk and mem values 2013-12-30 01:16:08 +01:00
Stefan Seyfried
e4b0224f77 dboxinfo: fix reading of memory values
...which failed on machines with more than 2GiB of RAM.
(patch is verified on a 1TiB RAM box :-)
2013-12-30 01:15:13 +01:00
svenhoefer
8ceb480ee5 - dboxinfo: switch to new martii boxinfo + adaptation 2013-12-29 21:51:35 +01:00
svenhoefer
e24877f560 - dboxinfo: show correct values in RAM section 2013-12-27 22:27:16 +01:00
svenhoefer
eec30dfb1a - dboxinfo: fix space between sections 2013-12-27 21:30:42 +01:00
martii
2804d80463 gui/dboxinfo: gui cosmetics 2013-12-26 13:35:01 +01:00
Jacek Jendrzej
4f65509d60 src/gui/dboxinfo.cpp: switch to martii boxinfo + adaptation 2013-12-25 17:38:50 +01:00
martii
cbc9299df8 convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-12-25 12:08:14 +01:00
Thilo Graf
f7798affc6 CComponents: add unfied header file for general include of cc classes
Provides a unified header file, so it is not required to select a
certain header file.
2013-10-24 21:19:07 +02:00
Michael Liebmann
c60c5c5ce3 Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values
2013-07-21 22:00:58 +02:00
Thilo Graf
f70a30defa Progressbars: use default frame thickness
It's unnecessary overhead to set the value everywhere, except it's needed.
2013-04-06 08:33:51 +02:00
Michael Liebmann
adfbfe079c * Fix order of colors for some progress bars 2013-04-05 19:43:50 +01:00
Thilo Graf
860be9a412 CComponents: add progressbar class to cc-items
CProgressbar moved into components sub directory and adapt includes.
Progressbar objects are now usable as cc-item

TODO:
-some color and size corrections
-found some dub codes for sig and snr-bars, needs rework
2013-04-02 09:31:05 +02:00
[CST] Focus
bc74b0c3a6 gui/dboxinfo.cpp: show free mem without cached/buffers; add 5 seconds timer to update window 2012-09-21 17:45:19 +04:00
focus
725da8ec70 Use new class to fade
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1949 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-06 13:35:26 +00:00
focus
82d3290d98 Remove unused g_settings.gtx_alpha1/2
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1917 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-26 12:45:02 +00:00
focus
b92ca9b515 Close all on menu key; allow sat and fav keys
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1890 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-25 09:30:29 +00:00
striper
4660584bdc - dboxinfo.cpp: fix font rendering with some themes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1739 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-10-03 14:11:22 +00:00
focus
5c8429673a Allow killTimer to check and reset timer id
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1562 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-07-21 10:04:05 +00:00
focus
1df85f6ea3 Fade changes for new fb driver
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1413 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-23 10:24:09 +00:00
seife
fd8a469974 dboxinfo: simplify code for FS/memory size display
Before, the units to display for filesystems / memory was based solely
on the filesystem type. This would lead to e.g. a 16MB FAT partition
being displayed as "0.01G" which is not too useful. Additionally, the
code made the distinction between RAM and FS in many places. Simplify
the code by determining the total/free/used in bytes, then pass that
number to a conversion function which returns a string with suffix.
Additional benefit: avoids use of float, code size significantly
smaller.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1375 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-02 13:21:42 +00:00
seife
0fb7db27ec neutrino: fix boxinfo for rootfs != JFFS2
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1374 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-02 13:21:40 +00:00
seife
9283bfa4e2 dboxinfo: remove extraneous '\n' (thanks TheDuke for reporting)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@873 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-10-31 17:39:29 +00:00
focus
253324226e Windows fade emulation. Some main windows at the moment only. New drivers needed.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@644 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-06-27 13:06:12 +00:00
satbaby
60598aa682 -tiny change
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@629 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-06-18 03:45:57 +00:00