Changeset 8ae2de9 for mainwin.c


Ignore:
Timestamp:
Mar 2, 2010, 9:14:44 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, 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
  • mainwin.c

    r129e609 r8ae2de9  
    4343    mw->curtruncated=0;
    4444    mw->lastdisplayed=-1;
    45     wnoutrefresh(recwin);
     45    update_panels();
    4646    owl_global_set_needrefresh(&g);
    4747    return;
     
    141141  mw->lastdisplayed=i-1;
    142142
    143   wnoutrefresh(recwin);
     143  update_panels();
    144144  owl_global_set_needrefresh(&g);
    145145}
Note: See TracChangeset for help on using the changeset viewer.