- Timestamp:
- Mar 2, 2010, 9:14:44 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- b928b3a
- Parents:
- be1ae91
- git-author:
- David Benjamin <davidben@mit.edu> (10/30/09 14:31:56)
- git-committer:
- David Benjamin <davidben@mit.edu> (03/02/10 21:14:44)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
popwin.c
r8240bce r8ae2de9 25 25 26 26 pw->borderwin=newwin(pw->lines, pw->cols, startline, startcol); 27 pw->borderpanel = new_panel(pw->borderwin); 27 28 pw->popwin=newwin(pw->lines-2, pw->cols-2, startline+1, startcol+1); 29 pw->poppanel = new_panel(pw->popwin); 28 30 pw->needsfirstrefresh=1; 29 31 … … 48 50 } 49 51 50 wnoutrefresh(pw->popwin); 51 wnoutrefresh(pw->borderwin); 52 update_panels(); 52 53 owl_global_set_needrefresh(&g); 53 54 pw->active=1; … … 57 58 int owl_popwin_close(owl_popwin *pw) 58 59 { 60 del_panel(pw->poppanel); 61 del_panel(pw->borderpanel); 59 62 delwin(pw->popwin); 60 63 delwin(pw->borderwin); … … 75 78 int owl_popwin_refresh(const owl_popwin *pw) 76 79 { 77 touchwin(pw->borderwin); 78 touchwin(pw->popwin); 79 80 wnoutrefresh(pw->borderwin); 81 wnoutrefresh(pw->popwin); 80 update_panels(); 82 81 owl_global_set_needrefresh(&g); 83 82 return(0);
Note: See TracChangeset
for help on using the changeset viewer.