summaryrefslogtreecommitdiffstats
path: root/MetersPanel.h
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* Make all required includes explicitBenny Baumann2020-10-181-0/+5
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Mark Object instances constChristian Göttsche2020-10-071-1/+1
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Sort headers/includesBenny Baumann2020-09-291-1/+1
|
* Free movingBar memory on exitChristian Göttsche2020-09-171-0/+2
|
* Clean up some code duplication in the header filesHugo Musso Gualandi2020-09-121-8/+0
| | | | | | | | | | | | | PR htop-dev/htop#70 got rid of the infrastructure for generating header files, but it left behind some code duplication. Some of cases are things that belong in the header file and don't need to be repeated in the C file. Other cases are things that belong in the C file and don't need to be in the header file. In this commit I tried to fix all of these that I could find. When given a choice I preferred keeping things out of the header file, unless they were being used by someone else.
* Remove superfluous 'extern's from function declarations.Zev Weiss2020-09-031-2/+2
| | | | | | | | Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
* Axe automated header generation.Zev Weiss2020-09-031-2/+0
| | | | | | | | | | | | | | Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
* Re-generate all headers with latest scripts/MakeHeader.pyNathan Scott2020-08-181-2/+2
| | | | Sync-up missing extern declarations for many functions.
* Mouse-friendly functions bar for meters panelExplorer092016-07-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+2
| | | | | Per @hishamhm's suggestion. This is UI change only. In code the class names and symbols still refer them as "modes".
* Improve feedback when moving meters.Hisham Muhammad2015-08-271-0/+3
|
* Complete cursor-based movement of headers.Hisham Muhammad2015-02-031-2/+6
|
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-0/+1
| | | | | 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-0/+2
| | | | UTF-8 display of big numbers.
* major header cleanupHisham Muhammad2011-12-261-5/+6
|
* warning fixesHisham Muhammad2010-02-251-1/+1
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-4/+0
| | | | | Reduces resulting code size.
* Regenerated all headers.Hisham Muhammad2006-06-061-1/+1
|
* Rename ListBox'es to Panel's, matching dit.Hisham Muhammad2006-05-301-0/+30

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