2005-05-25 14:42:59 -07:00
|
|
|
/*
|
2007-01-13 11:14:29 -08:00
|
|
|
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
|
2010-03-20 03:41:12 -07:00
|
|
|
* Copyright (C) 2004-2010 Kim Woelders
|
2005-05-25 14:42:59 -07:00
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
* of this software and associated documentation files (the "Software"), to
|
|
|
|
* deal in the Software without restriction, including without limitation the
|
|
|
|
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
* sell copies of the Software, and to permit persons to whom the Software is
|
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
|
* all copies of the Software, its documentation and marketing & publicity
|
|
|
|
* materials, and acknowledgment shall be given in the documentation, materials
|
|
|
|
* and software packages that this Software was used.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
* THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
|
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
*/
|
2006-03-29 11:13:17 -08:00
|
|
|
#ifndef _ICONS_H_
|
|
|
|
#define _ICONS_H_
|
|
|
|
|
|
|
|
#include "eimage.h"
|
2008-07-11 12:26:46 -07:00
|
|
|
#include "ewins.h"
|
2005-05-25 14:42:59 -07:00
|
|
|
|
2010-03-20 03:41:12 -07:00
|
|
|
#define EWIN_ICON_MODE_SNAP 0 /* Iconbox */
|
|
|
|
#define EWIN_ICON_MODE_NONE 0 /* Focus list */
|
|
|
|
#define EWIN_ICON_MODE_APP_IMG_SNAP 1
|
|
|
|
#define EWIN_ICON_MODE_IMG_APP_SNAP 2
|
|
|
|
#define EWIN_ICON_MODE_APP_IMG 3
|
|
|
|
#define EWIN_ICON_MODE_IMG_APP 4
|
2005-05-25 14:42:59 -07:00
|
|
|
|
2006-03-29 11:13:17 -08:00
|
|
|
EImage *EwinIconImageGet(EWin * ewin, int size, int mode);
|
|
|
|
|
|
|
|
#endif /* _ICONS_H_ */
|