diff options
author | Hugo Musso Gualandi <hugo_musso_gualandi@hotmail.com> | 2020-09-12 18:25:25 -0300 |
---|---|---|
committer | Hugo Musso Gualandi <hugo_musso_gualandi@hotmail.com> | 2020-09-12 19:20:44 -0300 |
commit | 9207401f9711ba026a70d7dd47347d7eab168b3f (patch) | |
tree | 959ae417880dda426e3b1bfea904edc6a90fac0c /MetersPanel.h | |
parent | cd55cfd6d263a89bbaf401481ea6bd6a5dd8f110 (diff) |
Clean up some code duplication in the header files
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.
Diffstat (limited to 'MetersPanel.h')
-rw-r--r-- | MetersPanel.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/MetersPanel.h b/MetersPanel.h index bea9238d..c02ce1cd 100644 --- a/MetersPanel.h +++ b/MetersPanel.h @@ -24,14 +24,6 @@ struct MetersPanel_ { bool moving; }; - -// Note: In code the meters are known to have bar/text/graph "Modes", but in UI -// we call them "Styles". -// We avoid UTF-8 arrows ← → here as they might display full-width on Chinese -// terminals, breaking our aligning. -// In <http://unicode.org/reports/tr11/>, arrows (U+2019..U+2199) are -// considered "Ambiguous characters". - void MetersPanel_setMoving(MetersPanel* this, bool moving); extern PanelClass MetersPanel_class; |