Changeset 8ae2de9 for commands.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
  • commands.c

    r1a0874f r8ae2de9  
    26622662  owl_editwin_fullclear(e);
    26632663  owl_global_set_needrefresh(&g);
    2664   wnoutrefresh(owl_editwin_get_curswin(e));
     2664  update_panels();
    26652665  owl_global_set_typwin_inactive(&g);
    26662666  owl_editwin_new_style(e, OWL_EDITWIN_STYLE_ONELINE, NULL);
     
    27302730  owl_free(cmd);
    27312731
    2732   wnoutrefresh(owl_editwin_get_curswin(e));
     2732  update_panels();
    27332733  owl_global_set_needrefresh(&g);
    27342734
     
    27472747  owl_global_pop_context(&g);
    27482748  owl_editwin_fullclear(e);
    2749   wnoutrefresh(owl_editwin_get_curswin(e));
     2749  update_panels();
    27502750  owl_global_set_needrefresh(&g);
    27512751}
     
    27652765  owl_global_pop_context(&g);
    27662766  owl_global_set_needrefresh(&g);
    2767   wnoutrefresh(owl_editwin_get_curswin(e));
     2767  update_panels();
    27682768}
    27692769
Note: See TracChangeset for help on using the changeset viewer.