Changeset 8ae2de9 for owl.h


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
  • owl.h

    rbe1ae91 r8ae2de9  
    394394typedef struct _owl_popwin {
    395395  WINDOW *borderwin;
     396  PANEL *borderpanel;
    396397  WINDOW *popwin;
     398  PANEL *poppanel;
    397399  int lines;
    398400  int cols;
     
    556558  owl_messagelist msglist;
    557559  WINDOW *recwin, *sepwin, *msgwin, *typwin;
     560  PANEL *recpan, *seppan, *msgpan, *typpan;
    558561  int needrefresh;
    559562  int rightshift;
Note: See TracChangeset for help on using the changeset viewer.