mirror of https://github.com/xzeldon/htop.git
Reword 'Type' to 'Style' for meters.
Per @hishamhm's suggestion. This is UI change only. In code the class names and symbols still refer them as "modes".
This commit is contained in:
parent
265d04821a
commit
a41c9b3925
|
@ -31,7 +31,9 @@ struct MetersPanel_ {
|
||||||
|
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
static const char* MetersFunctions[] = {"Type ", "Move ", "Delete", "Done ", NULL};
|
// Note: In code the meters are known to have bar/text/graph "Modes", but in UI
|
||||||
|
// we call them "Styles".
|
||||||
|
static const char* MetersFunctions[] = {"Style ", "Move ", "Delete", "Done ", NULL};
|
||||||
static const char* MetersKeys[] = {"Space", "Enter", "Del", "Esc"};
|
static const char* MetersKeys[] = {"Space", "Enter", "Del", "Esc"};
|
||||||
static int MetersEvents[] = {' ', 13, KEY_DC, 27};
|
static int MetersEvents[] = {' ', 13, KEY_DC, 27};
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,8 @@ struct MetersPanel_ {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// Note: In code the meters are known to have bar/text/graph "Modes", but in UI
|
||||||
|
// we call them "Styles".
|
||||||
|
|
||||||
void MetersPanel_setMoving(MetersPanel* this, bool moving);
|
void MetersPanel_setMoving(MetersPanel* this, bool moving);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue