Changeset 2445 for neercs/trunk/src/neercs.h
- Timestamp:
- 06/16/08 16:33:19 (5 years ago)
- File:
-
- 1 edited
-
neercs/trunk/src/neercs.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/neercs.h
r2444 r2445 27 27 }; 28 28 29 29 30 struct screen 30 31 { … … 52 53 int x, y; 53 54 int w, h; 55 56 int orig_x, orig_y; 57 int orig_w, orig_h; 58 54 59 }; 55 60 … … 58 63 int wm_type; 59 64 int in_bell; 65 int dont_update_coords; 60 66 /* Add-ons*/ 61 67 int mini; … … 63 69 int help; 64 70 65 66 71 int pty, prevpty; 67 72 int count; 68 73 int width, height; 69 74 struct screen **screen; 75 }; 76 77 78 struct recurrent 79 { 80 int (*function)(struct screen_list*, struct recurrent* rec, void *user, long long unsigned int t); 81 void *user; 82 long long unsigned int start_time; 83 int kill_me; 84 }; 85 86 struct recurrent_list 87 { 88 int count; 89 struct recurrent **recurrent; 70 90 }; 71 91 … … 88 108 struct screen_list *screen_list); 89 109 int update_screens_contents(struct screen_list* screen_list); 110 long long get_ms(void); 111 90 112 91 113 /* Screens management */ … … 110 132 void draw_status(cucul_canvas_t *cv, struct screen_list *screen_list); 111 133 void draw_help(cucul_canvas_t *cv, struct screen_list *screen_list); 134 int close_screen_recurrent(struct screen_list*, struct recurrent* rec, void *user, long long unsigned int t); 135 136 137 /* Recurrents */ 138 int add_recurrent(struct recurrent_list *list, 139 int (*function)(struct screen_list*, struct recurrent* rec, void *user, long long unsigned int t), 140 void *user); 141 int remove_recurrent(struct recurrent_list *list, int n); 112 142 113 143
Note: See TracChangeset
for help on using the changeset viewer.
