Changeset d70f45f for global.c


Ignore:
Timestamp:
Jun 1, 2010, 3:19:58 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
69873f7
Parents:
e294783
Message:
Port the msgwin to owl_window

I feel kind of silly making a new file for this, but meh.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    rf6fae8d rd70f45f  
    9595  owl_mainwin_init(&(g->mw));
    9696  owl_popwin_init(&(g->pw));
     97  owl_msgwin_init(&(g->msgwin), g->mainpanel.msgwin);
    9798
    9899  g->aim_screenname=NULL;
     
    167168  _owl_panel_set_window(&g->recpan, newwin(recwinlines, cols, 0, 0));
    168169  _owl_panel_set_window(&g->seppan, newwin(1, cols, recwinlines, 0));
    169   _owl_panel_set_window(&g->msgpan, newwin(1, cols, recwinlines+1, 0));
    170170}
    171171
     
    295295}
    296296
    297 WINDOW *owl_global_get_curs_msgwin(const owl_global *g) {
    298   return panel_window(g->msgpan);
     297owl_window *owl_global_get_curs_msgwin(const owl_global *g) {
     298  return g->msgwin.window;
    299299}
    300300
     
    517517
    518518  /* refresh stuff */
    519   g->needrefresh=1;
    520519  owl_mainwin_redisplay(&(g->mw));
    521520  sepbar(NULL);
    522521
    523522  owl_function_full_redisplay();
    524 
    525   owl_function_makemsg("");
    526523}
    527524
Note: See TracChangeset for help on using the changeset viewer.