home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Enlightenment / enl_BETA-0.13.src.tar.gz / enl_BETA-0.13.src.tar / enl-0.13 / iconify.h < prev    next >
C/C++ Source or Header  |  1997-10-29  |  2KB  |  105 lines

  1. struct i_member
  2. {
  3.    struct i_member *next;
  4.    Icon *icon;
  5. };
  6.  
  7. struct icon_list
  8. {
  9.    struct i_member *first;
  10.    struct i_member *last;
  11. };
  12.  
  13. struct predef_icon_list
  14. {
  15.    char *title;
  16.    char *image_file;
  17.    ImColor *transp;
  18. };
  19.  
  20. typedef struct
  21. {
  22.    char *left_arrow_im;
  23.    char *left_sel_arrow_im;
  24.    char *left_clk_arrow_im;
  25.    char *right_arrow_im;
  26.    char *right_sel_arrow_im;
  27.    char *right_clk_arrow_im;
  28.    char *background_im;
  29.    ImColor left_transparent;
  30.    ImColor left_sel_transparent;
  31.    ImColor left_clk_transparent;
  32.    ImColor right_transparent;
  33.    ImColor right_sel_transparent;
  34.    ImColor right_clk_transparent;
  35.    int x;
  36.    int y;
  37.    int width;
  38.    int height;
  39.    int orientation;
  40.    int snapshot_time;
  41.    int x_scroll;
  42.    int y_scroll;
  43.    int level;
  44.    int scroll_speed;
  45.    Pixmap left_pmap;
  46.    Pixmap left_mask;
  47.    Pixmap left_sel_pmap;
  48.    Pixmap left_sel_mask;
  49.    Pixmap left_clk_pmap;
  50.    Pixmap left_clk_mask;
  51.    Pixmap right_pmap;
  52.    Pixmap right_mask;
  53.    Pixmap right_sel_pmap;
  54.    Pixmap right_sel_mask;
  55.    Pixmap right_clk_pmap;
  56.    Pixmap right_clk_mask;
  57.    Pixmap bg_pmap;
  58.    int left_w;
  59.    int left_h;
  60.    int left_sel_w;
  61.    int left_sel_h;
  62.    int left_clk_w;
  63.    int left_clk_h;
  64.    int right_w;
  65.    int right_h;
  66.    int right_sel_w;
  67.    int right_sel_h;
  68.    int right_clk_w;
  69.    int right_clk_h;
  70.    Window bg_win;
  71.    Window left_win;
  72.    Window right_win;
  73.    Action action[3][4];
  74.    int bx;
  75.    int by;
  76. } Icon_cfg;
  77.  
  78. struct _newicon
  79. {
  80.    EWin *ewin;
  81.    Window win;
  82.    int kill;
  83. };
  84.  
  85. Icon *GrabClient(EWin *ewin);
  86. Icon *LoadIconFromDisk(EWin *ewin, char *IconInfo, ImColor *icl);
  87. Icon *PredefinedIconLoad(EWin *ewin, char *TitleBarContents);
  88. char *ReturnIconPath(char *TitleBarContents, ImColor **icl);
  89. Icon *LoadPredefinedIcon(unsigned short PredefinedIconLineNumber);
  90. void LoadImageWithImlib(char *reg_im, ImColor *reg_trans, Pixmap *pmap, Pixmap *mask, int *width, int *height);
  91. void LoadImageSizeWithImlib(char *reg_im, ImColor *reg_trans, Pixmap *pmap, Pixmap *mask, int width, int height);
  92. void InitIcons();
  93. Icon *GetIconWinID(Window w);
  94. void AddIcon(Icon *ic);
  95. void DelIcon(Window w);
  96. void Msg_Iconify(EWin *ewin);
  97. void Msg_DeIconify(EWin *ewin);
  98. void Finish_Iconify();
  99. void MapIconBox();
  100. void IconLeft();
  101. void IconRight();
  102. void IconsScroll(int x);
  103. void RaiseLowerIcons();
  104. void DeIconify(EWin *ewin);
  105.