mirror of https://github.com/xzeldon/htop.git
naming consistency
This commit is contained in:
parent
ca6b9238a3
commit
4c4cceee5d
|
@ -27,7 +27,7 @@ static void MetersPanel_delete(Object* object) {
|
||||||
free(this);
|
free(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HandlerResult MetersPanel_EventHandler(Panel* super, int ch) {
|
static HandlerResult MetersPanel_eventHandler(Panel* super, int ch) {
|
||||||
MetersPanel* this = (MetersPanel*) super;
|
MetersPanel* this = (MetersPanel*) super;
|
||||||
|
|
||||||
int selected = Panel_getSelectedIndex(super);
|
int selected = Panel_getSelectedIndex(super);
|
||||||
|
@ -96,7 +96,7 @@ MetersPanel* MetersPanel_new(Settings* settings, const char* header, Vector* met
|
||||||
this->settings = settings;
|
this->settings = settings;
|
||||||
this->meters = meters;
|
this->meters = meters;
|
||||||
this->scr = scr;
|
this->scr = scr;
|
||||||
super->eventHandler = MetersPanel_EventHandler;
|
super->eventHandler = MetersPanel_eventHandler;
|
||||||
Panel_setHeader(super, header);
|
Panel_setHeader(super, header);
|
||||||
for (int i = 0; i < Vector_size(meters); i++) {
|
for (int i = 0; i < Vector_size(meters); i++) {
|
||||||
Meter* meter = (Meter*) Vector_get(meters, i);
|
Meter* meter = (Meter*) Vector_get(meters, i);
|
||||||
|
|
Loading…
Reference in New Issue