Changeset 2362 for neercs/trunk/src/neercs.h
- Timestamp:
- 06/12/08 14:42:43 (5 years ago)
- File:
-
- 1 edited
-
neercs/trunk/src/neercs.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/neercs.h
r2360 r2362 17 17 #include <cucul.h> 18 18 19 enum wm_types 20 { 21 WM_FULL, 22 WM_CARD, 23 WM_HSPLIT, 24 WM_VSPLIT, 19 25 26 WM_MAX, 27 }; 20 28 21 29 struct screen … … 41 49 struct screen_list 42 50 { 43 int count; 44 struct screen **screen; 51 int wm_type; 52 int count; 53 int width, height; 54 struct screen **screen; 45 55 }; 46 56 … … 50 60 void draw_thumbnails(cucul_canvas_t *cv, struct screen_list *screen_list, int pty); 51 61 62 int set_tty_size(int fd, unsigned int w, unsigned int h); 52 63 53 64 … … 57 68 int add_screen(struct screen_list *list, struct screen *s); 58 69 int remove_screen(struct screen_list *list, int n); 70 void resize_screen(struct screen *s, int z, int h); 59 71 72 /* Window managers */ 73 void update_windows_props(cucul_canvas_t *cv, struct screen_list *screen_list, int pty); 74 void update_windows_props_cards(cucul_canvas_t *cv, struct screen_list *screen_list, int pty); 75 void update_windows_props_hsplit(cucul_canvas_t *cv, struct screen_list *screen_list, int pty); 76 void update_windows_props_full(cucul_canvas_t *cv, struct screen_list *screen_list, int pty); 77 void update_windows_props_vsplit(cucul_canvas_t *cv, struct screen_list *screen_list, int pty); 60 78 61 79
Note: See TracChangeset
for help on using the changeset viewer.
