#include <stdlib.h>#include "Window.h"#include "Bases.h"#include "Module.h"#include "Image.h"#include "debug.h"#include "classes.h"#include "Memory.h"#include "Common.h"#include "gadgets/gadget_Icon.h"Include dependency graph for gadget_Icon.c:
Go to the source code of this file.
Data Structures | |
| struct | _icon |
Functions | |
| u32 | icon_set_image (Gadget_t *this_gadget, tag *taglist) |
| VERSION ("Icon.gadget", 1, 0,"Gergely Gati","g.gati @freemail.hu") | |
| void | icon_get_extent (Gadget_t *this, Extent_t *min, Extent_t *max) |
| void | icon_layout (Gadget_t *this, Rect_t *rect) |
| int | icon_init_gadget (Gadget_t *this, tag *taglist) |
| void | icon_delete_gadget (Gadget_t *this) |
| int | icon_gadget_event_handler (Gadget_t *this, int event, tag *taglist) |
| void | init_icon_class (u32 module) |
| EXPORT int | module_Init (u32 module, bases_Modules_t *bases) |
Variables | |
| bases_Modules_t * | api |
| gadget_Method_t | methods [] |
| gadget_Binding_t | binding [] |
|
|
Definition at line 187 of file gadget_Icon.c. References debug_Begin, debug_End, bases_modules_s::img_Call, IMG_CLEANUPIMAGE, NULL, TAG_DONE, and TAG_IMG_OBJECT. Referenced by icon_gadget_event_handler. |
|
||||||||||||||||
|
Definition at line 201 of file gadget_Icon.c. References Window_s::app, ImageIn_s::data, ImageIn_s::data_size, debug_Begin, debug_End, GADEV_DAMAGE, GADEV_DELETE_GADGET, GADEV_GET_EXTENT, GADEV_INIT_GADGET, GADEV_LAYOUT, GADEV_RESTORE, GADEV_SAVE, icon_delete_gadget, icon_get_extent, icon_init_gadget, icon_layout, ImageInfo_s::iim, Image_t, bases_modules_s::img_Call, IMG_CLEANUPIMAGE, IMG_GETINFO, IMG_INITIMAGE, max, mem_malloc, min, NULL, TAG_DONE, TAG_GAD_EXTMAX, TAG_GAD_EXTMIN, TAG_GAD_RECT, TAG_GADGET_MEM, TAG_GADGET_SIZE, tag_GetTagData, TAG_IMG_APP, TAG_IMG_FREEAFTERUSE, TAG_IMG_IMAGEIN, TAG_IMG_IMGINFO, TAG_IMG_OBJECT, u32, u8, and Gadget_s::window. Referenced by init_icon_class. |
|
||||||||||||||||
|
Definition at line 81 of file gadget_Icon.c. References debug_Begin, debug_End, debug_Message, Gadget_s::gadget_id, Extent_t::height, bases_modules_s::img_Call, IMG_GETINFO, max, ImageInfo_s::maxheight, ImageInfo_s::maxwidth, min, ImageInfo_s::minheight, ImageInfo_s::minwidth, TAG_DONE, TAG_IMG_IMGINFO, TAG_IMG_OBJECT, and Extent_t::width. Referenced by icon_gadget_event_handler. |
|
||||||||||||
|
Definition at line 159 of file gadget_Icon.c. References Window_s::app, debug_Begin, debug_End, Image_t, bases_modules_s::img_Call, IMG_INITIMAGE, NULL, TAG_DONE, tag_GetTagData, TAG_ICO_IMAGEIN, TAG_ICO_IMAGENAME, TAG_IMG_APP, TAG_IMG_IMAGEIN, TAG_IMG_IMAGENAME, u32, and Gadget_s::window. Referenced by icon_gadget_event_handler. |
|
||||||||||||
|
Definition at line 115 of file gadget_Icon.c. References debug_Begin, debug_End, debug_Message, bases_modules_s::img_Call, IMG_PUTIMAGE, TAG_DONE, TAG_IMG_OBJECT, TAG_IMG_RECT, TAG_IMG_WINDOW, and Gadget_s::window. Referenced by icon_gadget_event_handler. |
|
||||||||||||
|
|
||||||||||||
|
Definition at line 358 of file gadget_Icon.c. References EXPORT, init_icon_class, and u32. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 57 of file gadget_Icon.c. |
|
|
Initial value:
{
{"image",TAG_ICO_IMAGENAME,GADGET_STRING,""},
GADGET_BINDING_DONE
}Definition at line 67 of file gadget_Icon.c. |
|
|
Initial value:
{
{"set_image",icon_set_image,0L},
GADGET_METHOD_DONE
}Definition at line 60 of file gadget_Icon.c. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002