mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Move FunctionBar inside Panel
This commit is contained in:
@ -9,10 +9,10 @@ Released under the GNU GPL, see the COPYING file
|
||||
in the source distribution for its full text.
|
||||
*/
|
||||
|
||||
#include "Object.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct FunctionBar_ {
|
||||
Object super;
|
||||
int size;
|
||||
char** functions;
|
||||
char** keys;
|
||||
@ -21,11 +21,9 @@ typedef struct FunctionBar_ {
|
||||
} FunctionBar;
|
||||
|
||||
|
||||
extern ObjectClass FunctionBar_class;
|
||||
|
||||
FunctionBar* FunctionBar_new(const char** functions, const char** keys, int* events);
|
||||
|
||||
void FunctionBar_delete(Object* cast);
|
||||
void FunctionBar_delete(FunctionBar* this);
|
||||
|
||||
void FunctionBar_setLabel(FunctionBar* this, int event, const char* text);
|
||||
|
||||
|
Reference in New Issue
Block a user