Changeset 402ed3d3
- Timestamp:
- Jun 1, 2010, 12:25:27 AM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 3da1f4f
- Parents:
- 50031f0
- git-author:
- David Benjamin <davidben@mit.edu> (06/01/10 00:16:33)
- git-committer:
- David Benjamin <davidben@mit.edu> (06/01/10 00:25:27)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
popwin.c
r50031f0 r402ed3d3 14 14 owl_window_set_size_cb(pw->border, owl_popwin_size_border, 0, 0); 15 15 owl_window_set_size_cb(pw->content, owl_popwin_size_content, 0, 0); 16 owl_window_show (pw->border, 1);16 owl_window_show_all(pw->border); 17 17 18 18 pw->active=1; -
window.c
r50031f0 r402ed3d3 73 73 screen->is_screen = 1; 74 74 owl_window_set_size_cb(screen, _screen_calculate_size, &g, 0); 75 owl_window_show(screen , 0);75 owl_window_show(screen); 76 76 } 77 77 return screen; … … 271 271 } 272 272 273 static void _map_recurse_curry(owl_window *w) 274 { 275 owl_window_show(w, 1); 276 } 277 278 void owl_window_show(owl_window *w, int recurse) 273 void owl_window_show(owl_window *w) 279 274 { 280 275 w->shown = 1; … … 282 277 if (w->pan) 283 278 show_panel(w->pan); 284 if (recurse) 285 owl_window_children_foreach_onearg(w, _map_recurse_curry); 279 } 280 281 void owl_window_show_all(owl_window *w) 282 { 283 owl_window_show(w); 284 owl_window_children_foreach_onearg(w, owl_window_show); 286 285 } 287 286 -
window.h
r50031f0 r402ed3d3 19 19 owl_window *owl_window_get_parent(owl_window *w); 20 20 21 void owl_window_show(owl_window *w, int recurse); 21 void owl_window_show(owl_window *w); 22 void owl_window_show_all(owl_window *w); 22 23 void owl_window_hide(owl_window *w); 23 24 int owl_window_is_shown(owl_window *w);
Note: See TracChangeset
for help on using the changeset viewer.