home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gwm18a.zip / wl_client.h < prev    next >
C/C++ Source or Header  |  1995-07-03  |  2KB  |  90 lines

  1. /* Copyright 1989 GROUPE BULL -- See license conditions in file COPYRIGHT
  2.  * Copyright 1989 Massachusetts Institute of Technology
  3.  */
  4. /***********************\
  5. *                 *
  6. *  WOOL_OBJECT  Client  *
  7. *  DEFINITIONS            *
  8. *                 *
  9. \***********************/
  10.  
  11. #ifndef INCLUDE_WL_CLIENT_H
  12. #define INCLUDE_WL_CLIENT_H
  13. #ifndef INCLUDE_WL_BAR_H
  14. #include "wl_bar.h"
  15. #endif
  16. #ifndef INCLUDE_WL_LIST_H
  17. #include "wl_list.h"
  18. #endif
  19.  
  20. /* type */
  21.  
  22. /*
  23.  * A client is the description of a window
  24.  */
  25.  
  26. typedef struct _WOOL_Client {
  27.     WOOL_HEADER;
  28.     int             borderwidth;
  29.     long            borderpixel;
  30.     long            background;
  31.     int            inner_borderwidth;
  32.     WOOL_OBJECT     bordertile;
  33.     WOOL_OBJECT     tile;
  34.     WOOL_OBJECT     fsm;
  35.     WOOL_OBJECT     menu;
  36.     WOOL_OBJECT        cursor;
  37.     WOOL_OBJECT        opening;
  38.     WOOL_OBJECT        closing;
  39.     WOOL_OBJECT        property;
  40.     WOOL_List        grabs;
  41.     WOOL_Bar        titlebar;
  42.     WOOL_Bar        leftbar;
  43.     WOOL_Bar        rightbar;
  44.     WOOL_Bar        basebar;
  45.     WOOL_Plug        icon_plug;
  46.     unsigned         map_on_raise : 1;
  47.     unsigned         ignore_take_focus : 1;
  48. }              *WOOL_Client;
  49.  
  50. /* exported functions */
  51.  
  52. EXT WOOL_Client wool_client_make();
  53. EXT WOOL_OBJECT WLClient_print();
  54. EXT WOOL_OBJECT WLClient_free();
  55. EXT WOOL_OBJECT WLClient_set_property();
  56. EXT WOOL_OBJECT WLClient_get_property();
  57.  
  58. EXT WOOL_Client TargetWoolDesc;
  59.  
  60. /* methods */
  61.  
  62. EXT WOOL_METHOD WLClient[]
  63. #ifdef DO_INIT
  64. = {
  65.    (WOOL_METHOD) 0,        /* METHODS_ARRAY */
  66.    WLNumber_eval,        /* WOOL_eval 1 */
  67.    WLClient_print,        /* WOOL_print 2 */
  68.    WLClient_free,        /* WOOL_free 3 */
  69.    wool_undefined_method_2,        /* WOOL_execute 4 */
  70.    wool_undefined_method_2,        /* WOOL_set 5 */
  71.    wool_undefined_method_1,    /* WOOL_get_C_value 6 */
  72.    wool_undefined_method_1,    /* WOOL_open 7 */
  73.    wool_undefined_method_1,    /* WOOL_close 8 */
  74.    wool_undefined_method_2,    /* WOOL_process_event 9 */
  75.    wool_undefined_method_1,    /* WOOL_copy 10 */
  76.    wool_undefined_method_2,    /* WOOL_get_dimensions 11 */
  77.    wool_undefined_method_2,    /* WOOL_draw 12 */
  78.    wool_undefined_method_2,    /* WOOL_equal 13 */
  79.    wool_undefined_method_2,
  80.    wool_undefined_method_2,
  81.    wool_undefined_method_1,
  82.    wool_undefined_method_1,
  83.    wool_undefined_method_1,
  84.    wool_undefined_method_1,
  85.    wool_undefined_method_1
  86. }
  87. #endif /* DO_INIT */
  88.                ;
  89. #endif /* INCLUDE_WL_CLIENT_H */
  90.