home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / xaes_new / objcdraw.c < prev    next >
C/C++ Source or Header  |  1994-09-22  |  730b  |  21 lines

  1. /********************************************************************
  2.  *                                                                0.01*
  3.  *    XAES: Windowed object draw routine                                *
  4.  *                                                                    *
  5.  *    Copyright (C) 1994, Bitgate Software                            *
  6.  *                                                                    *
  7.  ********************************************************************/
  8.  
  9. #include "xaes.h"
  10.  
  11. GLOBAL void WObjc_Draw(WINDOW *win, int x, int y, int w, int h)
  12. {
  13.     if (win)
  14.         objc_draw((((win->state & W_ICONIFIED) && (win->iconify)) ? win->iconify : win->tree), win->edobject, 2, x, y, w, h);
  15. }
  16.  
  17. GLOBAL void WObjc_Draw_Out(WINDOW *win, int x, int y, int w, int h)
  18. {
  19.     if (win)
  20.         objc_draw((((win->state & W_ICONIFIED) && (win->iconify)) ? win->iconify : win->tree), 0, 2, x, y, w, h);
  21. }