Changeset 853f397 for windowcb.c


Ignore:
Timestamp:
Jun 3, 2010, 1:36:06 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:
840032d
Parents:
8f9a044
Message:
Make mainpanel's fill_parent_cb also generic
File:
1 edited

Legend:

Unmodified
Added
Removed
  • windowcb.c

    r8f9a044 r853f397  
    66  owl_window_dirty_children(w);
    77}
     8
     9void owl_window_fill_parent_cb(owl_window *parent, void *user_data)
     10{
     11  int lines, cols;
     12  owl_window *window = user_data;
     13
     14  /* Make this panel full-screen */
     15  owl_window_get_position(parent, &lines, &cols, NULL, NULL);
     16  owl_window_set_position(window, lines, cols, 0, 0);
     17}
Note: See TracChangeset for help on using the changeset viewer.