summaryrefslogtreecommitdiffstats
path: root/MetersPanel.c
Commit message (Collapse)AuthorAgeFilesLines
* Clean up existing whitespaceDaniel Flanagan2019-10-311-1/+1
|
* fix fallthough comments for GCC 7.xChristian Hesse2017-10-231-2/+2
| | | | | | | | | | GCC 7.x does some extended checks on fallthough for switch/case statement. The warning looks like this: warning: this statement may fall through [-Wimplicit-fallthrough=] It can be told about implicit fallthough, however it does not recognize comments within blocks, so move the comments outside.
* Mark some things as constRichard2017-07-221-4/+4
| | | | | | | Several string pointer arrays pointed to const strings but were not const themselves. A few various structures and arrays were also marked const.
* Mouse-friendly functions bar for meters panelExplorer092016-07-161-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Before: SpaceStyle EnterMove DelDeleteEscDone | ~~~~~ ~~~~~ ~~~ ~~~ | UpUp DnDown LtLeft RtRight EnterConfirmDelDeleteEscDone | ~~ ~~ ~~ ~~ ~~~~~ ~~~ ~~~ | After: SpaceStyle EnterMove DelDeleteF10Done ~~~~~ ~~~~~ ~~ ~~~ ~~~ SpaceStyle EnterLock UpUp DnDown <-Left ->Right DelDeleteF10Done ~~~~~ ~~~~~ ~~ ~~ ~~ ~~ ~~ ~~~ ~~~ * Align 'Delete' and 'Done' to the right to match functions on other screens. (Accidental clicking is avoided as a side benefit.) * You could change meter type while in moving mode. New bar now hints this. * Two Enter key functions are put in the same place and so mouse clicks there act like functions toggle. (The wording change to 'Lock' is also to reflect this.) * '<-' and '->' instead of 'Lt' and 'Rt' abbreviation as the latter is not widely seen and arrows shapes are obvious. :) * 'Esc' key for 'Done' in this context may not be intuitive, comparing to 'F10'. While I wish there be a Cancel/Undo function for 'Esc', it wouldn't hurt if we write 'F10' for 'Done' on functions bar for now.
* Reword 'Type' to 'Style' for meters.Explorer092016-07-161-1/+3
| | | | | Per @hishamhm's suggestion. This is UI change only. In code the class names and symbols still refer them as "modes".
* Fixes #498.Hisham2016-05-251-1/+1
|
* Fix crash when emptying column. Closes #381.Hisham2016-02-121-1/+4
|
* Fix function bar when moving meters.Explorer092015-12-221-1/+1
| | | | | | | | Before: [Up]Up [Dn]Down [Lt]Left [Rt]Right [Arrow]Confirm [Enter]Delete [Del]Done After: [Up]Up [Dn]Down [Lt]Left [Rt]Right [Enter]Confirm [Del]Delete [Esc]Done
* Highlight moving meters in a different color.Hisham Muhammad2015-11-021-0/+3
|
* Fix moving of metersHisham Muhammad2015-11-021-0/+1
|
* Improve feedback when moving meters.Hisham Muhammad2015-08-271-6/+23
|
* Fix mouse click on meters setup function barHisham Muhammad2015-08-201-1/+1
|
* ignore enter, delete and space on empty panelChristian Hesse2015-06-151-0/+6
|
* Move FunctionBar inside PanelHisham Muhammad2015-03-231-1/+6
|
* Fix saving of header states, motion in Setup screen.Hisham Muhammad2015-03-161-7/+15
|
* Make sure these are initialized.Hisham Muhammad2015-02-041-0/+2
|
* Complete cursor-based movement of headers.Hisham Muhammad2015-02-031-3/+42
|
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-1/+24
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-4/+10
| | | | UTF-8 display of big numbers.
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-2/+0
|
* major header cleanupHisham Muhammad2011-12-261-4/+11
|
* naming consistencyHisham Muhammad2011-11-051-2/+2
|
* warning fixesHisham Muhammad2010-02-251-1/+1
|
* changes for htop 0.8.2Hisham Muhammad2009-06-021-0/+1
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-20/+20
| | | | | Reduces resulting code size.
* Rename ListBox'es to Panel's, matching dit.Hisham Muhammad2006-05-301-0/+105

© 2014-2024 Faster IT GmbH | imprint | privacy policy