Changeset 8ae2de9 for owl.c


Ignore:
Timestamp:
Mar 2, 2010, 9:14:44 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
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)
Message:
Attach PANELs to all of our WINDOWs

We replace wnoutrefresh with update_panels (except in set cursor; there
we have to guarantee that the window is empty.). The viewwin does not
get a PANEL because it's weird and currently leeches onto someone else's
WINDOW.

Resizing is also rather fiddly because panel wants to know about window
resizes. Not completely sure I got it right yet. The only library I know
of that does something like with with ncurses (libgnt) and they
endwin/refresh to resize the screen.

Signed-off-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r91634ec r8ae2de9  
    599599  owl_function_source(NULL);
    600600
    601   wrefresh(sepwin);
     601  update_panels();
    602602
    603603  /* Set the default style */
     
    655655    /* update the terminal if we need to */
    656656    if (owl_global_is_needrefresh(&g)) {
     657      /* ensure that panels are clean, so that set_cursor doesn't break things */
     658      update_panels();
    657659      /* leave the cursor in the appropriate window */
    658660      if (owl_global_is_typwin_active(&g)) {
Note: See TracChangeset for help on using the changeset viewer.