Changeset 38e2250 for window.c


Ignore:
Timestamp:
Sep 18, 2010, 5:07:40 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
5f0bcde
Parents:
6a35938
git-author:
David Benjamin <davidben@mit.edu> (08/15/10 16:12:07)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 17:07:40)
Message:
Use bool instead of int in owl_window
File:
1 edited

Legend:

Unmodified
Added
Removed
  • window.c

    r5ca3fb7 r38e2250  
    302302}
    303303
    304 int owl_window_is_shown(owl_window *w)
     304bool owl_window_is_shown(owl_window *w)
    305305{
    306306  return w->shown;
    307307}
    308308
    309 int owl_window_is_realized(owl_window *w)
     309bool owl_window_is_realized(owl_window *w)
    310310{
    311311  return w->win != NULL;
    312312}
    313313
    314 int owl_window_is_toplevel(owl_window *w)
     314bool owl_window_is_toplevel(owl_window *w)
    315315{
    316316  return w->pan != NULL;
    317317}
    318318
    319 int owl_window_is_subwin(owl_window *w)
     319bool owl_window_is_subwin(owl_window *w)
    320320{
    321321  return w->pan == NULL && !w->is_screen;
Note: See TracChangeset for help on using the changeset viewer.