diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-11-05 04:55:05 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-11-05 04:55:05 +0000 |
commit | 38856488815711138aa9d0ba32cca66694717171 (patch) | |
tree | c24d78a5b407bec51873d27685ac97eef796656b /SignalsPanel.h | |
parent | 88f6de2352a120275be961e2439d6c14ced775e6 (diff) |
reduce code
Diffstat (limited to 'SignalsPanel.h')
-rw-r--r-- | SignalsPanel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/SignalsPanel.h b/SignalsPanel.h index 0032cc7c..83e8b7eb 100644 --- a/SignalsPanel.h +++ b/SignalsPanel.h @@ -13,16 +13,16 @@ #include <ctype.h> +typedef struct SignalItem_ { + const char* name; + int number; +} SignalItem; + typedef struct SignalsPanel_ { Panel super; - ListItem** signals; } SignalsPanel; -#ifndef SIGNAL_COUNT -#define SIGNAL_COUNT 34 -#endif - SignalsPanel* SignalsPanel_new(int x, int y, int w, int h); void SignalsPanel_reset(SignalsPanel* this); |