diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-01-27 23:29:58 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-02-26 20:13:09 -0300 |
commit | 4791050ceaf24a32e08505015faf07c43580763c (patch) | |
tree | 568e9108ea39548c975abe6aab5c08817e33ffc7 /ScreensPanel.h | |
parent | 1edcfad874e7ed093bd8489a42f7a6f86c19e5c5 (diff) |
Begin add supporting for multiple screens
Diffstat (limited to 'ScreensPanel.h')
-rw-r--r-- | ScreensPanel.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ScreensPanel.h b/ScreensPanel.h new file mode 100644 index 00000000..35842a95 --- /dev/null +++ b/ScreensPanel.h @@ -0,0 +1,39 @@ +/* Do not edit this file. It was automatically generated. */ + +#ifndef HEADER_ScreensPanel +#define HEADER_ScreensPanel +/* +htop - ScreensPanel.h +(C) 2004-2011 Hisham H. Muhammad +Released under the GNU GPL, see the COPYING file +in the source distribution for its full text. +*/ + +#include "Panel.h" +#include "Settings.h" + +#ifndef SCREEN_NAME_LEN +#define SCREEN_NAME_LEN 20 +#endif + +typedef struct ScreensPanel_ { + Panel super; + + Settings* settings; + char buffer[SCREEN_NAME_LEN + 1]; + char* saved; + int cursor; + bool moving; + bool renaming; +} ScreensPanel; + + +void startRenaming(Panel* super); + +extern PanelClass ScreensPanel_class; + +ScreensPanel* ScreensPanel_new(Settings* settings); + +void ScreensPanel_update(Panel* super); + +#endif |