#include <string.h>#include "debug.h"#include "Memory.h"#include "Crc.h"#include "Common.h"#include "Skin.h"#include "Window.h"#include "Gadget.h"#include "Prefs.h"#include "Net.h"#include "Locale.h"#include "gadgets/gadget_Group.h"Include dependency graph for Gadget.c:

Go to the source code of this file.
|
||||||||||||
|
Definition at line 944 of file Gadget.c. References gadget_AttachTL, and u32. |
|
||||||||||||
|
Definition at line 914 of file Gadget.c. References gadget_AttachFirstTL, and u32. |
|
|
Definition at line 918 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::firstchild, Gadget_s::lastchild, Gadget_s::next, Gadget_s::parent, Gadget_s::prev, TAG_GADGET_NEW_CHILD, TAG_GADGET_NEW_PARENT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
|
Definition at line 948 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::firstchild, Gadget_s::lastchild, Gadget_s::next, Gadget_s::parent, Gadget_s::prev, TAG_GADGET_NEW_CHILD, TAG_GADGET_NEW_PARENT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 84 of file Gadget.c. References gadget_BindTL, and u32. |
|
|
Definition at line 88 of file Gadget.c. References gadget_Binding_t::datatype, debug_Begin, debug_End, debug_Error, FALSE, GADGET_BOOL, GADGET_INT, GADGET_SELECT, GADGET_STRING, locale_GetString, gadget_Binding_t::name, TAG_DONE, TAG_GADGET_BINDING, TAG_GADGET_LOCALE, TAG_GADGET_NAME, TAG_GADGET_TAGNAME, TAG_GADGET_TAGVALUE, TAG_GADGET_VALUE, tag_GetTagData, TAG_LOCALE_LOCALE, TAG_LOCALE_MSG, TAG_SKIP, gadget_Binding_t::tagname, TRUE, u32, and gadget_Binding_t::value_mask. Referenced by gadget_Init. |
|
||||||||||||||||
|
Definition at line 2167 of file Gadget.c. References gadget_CallTL, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 2049 of file Gadget.c. References gadget_CallBackTL, and u32. |
|
|
Definition at line 2053 of file Gadget.c. References Gadget_s::class_data, debug_Begin, debug_End, gadget_ClassData_t::event_handler, gadget_Father, GADGET_NOID, TAG_DONE, TAG_GADGET_EVENT, TAG_GADGET_EVENT_DATA, TAG_GADGET_OBJECT, tag_GetTagData, u32, Gadget_s::window, and window_WindowEvent. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 2171 of file Gadget.c. References call_vector, debug_Begin, debug_End, debug_Warning, GADGET_FUNC_DONE, GADGET_FUNCBASE, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
|
Definition at line 339 of file Gadget.c. References gadget_ClassData_t::class_name, debug_Begin, debug_End, glw_CloseModule, list_DeleteList, list_DeleteNode, list_GetNodeData, list_GetNodeHead, list_RemoveNode, mem_free, and gadget_ClassData_t::module. Referenced by gui_CleanUp. |
|
||||||||||||
|
Definition at line 2015 of file Gadget.c. References gadget_DamageTL, and u32. |
|
|
Definition at line 2019 of file Gadget.c. References tag::Data, debug_Begin, debug_End, GADEV_DAMAGE, TAG_DONE, TAG_GAD_RECT, TAG_GADGET_OBJECT, TAG_GADGET_RECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1880 of file Gadget.c. References gadget_DeleteGadgetTL, and u32. |
|
|
Definition at line 1884 of file Gadget.c. References debug_Begin, debug_End, GADEV_DELETE_GADGET, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
|
||||||||||||
|
Definition at line 1332 of file Gadget.c. References gadget_DeleteSubtreeTL, and u32. |
|
|
Definition at line 1336 of file Gadget.c. References tag::Data, debug_Begin, debug_End, gadget_DeleteOne, gadget_DeleteSubtreeTL, gadget_DetachTL, gadget_RightBrotherTL, TAG_DONE, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 973 of file Gadget.c. References gadget_DetachTL, and u32. |
|
|
Definition at line 977 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::firstchild, Gadget_s::lastchild, Gadget_s::next, Gadget_s::parent, Gadget_s::prev, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 627 of file Gadget.c. References gadget_FatherTL, and u32. |
|
|
Definition at line 631 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::parent, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 508 of file Gadget.c. References gadget_FindClassTL, and u32. |
|
||||||||||||
|
Definition at line 543 of file Gadget.c. References gadget_FindClassByNameTL, and u32. |
|
|
Definition at line 547 of file Gadget.c. References gadget_ClassData_t::class_name, debug_Begin, debug_End, list_GetNodeData, list_GetNodeHead, list_GetNodeNext, TAG_GADGET_CLASS_NAME, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
|
Definition at line 512 of file Gadget.c. References gadget_ClassData_t::class_id, debug_Begin, debug_End, list_GetNodeData, list_GetNodeHead, list_GetNodeNext, TAG_GADGET_CLASS_ID, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1524 of file Gadget.c. References gadget_FindParentTL, and u32. |
|
|
Definition at line 1528 of file Gadget.c. References debug_Begin, debug_End, gadget_Father, TAG_DONE, TAG_GADGET_CLASS_ID, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1596 of file Gadget.c. References gadget_FindRightMostTL, and u32. |
|
|
Definition at line 1600 of file Gadget.c. References debug_Begin, debug_End, gadget_LastChild, TAG_DONE, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 756 of file Gadget.c. References gadget_FirstBrotherTL, and u32. |
|
|
Definition at line 760 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::prev, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 648 of file Gadget.c. References gadget_FirstChildTL, and u32. |
|
|
Definition at line 652 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::firstchild, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 854 of file Gadget.c. References gadget_FirstNodeTL, and u32. |
|
|
Definition at line 858 of file Gadget.c. References debug_Begin, debug_End, TAG_GADGET_ROOT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1120 of file Gadget.c. References gadget_GetColorTL, and u32. |
|
|
Definition at line 1124 of file Gadget.c. References debug_Begin, debug_End, TAG_GADGET_COLOR, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
|
Definition at line 262 of file Gadget.c. Referenced by gxml_CreateGadgetTreeTL. |
|
||||||||||||
|
Definition at line 1659 of file Gadget.c. References gadget_GetExtentTL, and u32. |
|
|
Definition at line 1663 of file Gadget.c. References tag::Data, debug_Begin, debug_End, debug_Message, GADEV_GET_EXTENT, GADGET_LAYOUT_FIXED, Extent_t::height, max, min, skin_GetExtent, TAG_DONE, TAG_GAD_EXTMAX, TAG_GAD_EXTMIN, TAG_GADGET_MAX, TAG_GADGET_MIN, TAG_GADGET_OBJECT, tag_GetTagData, u32, Extent_t::width, and window_GetSkin. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1087 of file Gadget.c. References gadget_GetFontTL, and u32. |
|
|
Definition at line 1091 of file Gadget.c. References debug_Begin, debug_End, gadget_Father, skin_GetFont, TAG_DONE, TAG_GADGET_OBJECT, tag_GetTagData, u32, and window_GetSkin. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1628 of file Gadget.c. References gadget_GetHintTL, and u32. |
|
|
Definition at line 1632 of file Gadget.c. References debug_Begin, debug_End, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1714 of file Gadget.c. References gadget_GetRectTL, and u32. |
|
|
Definition at line 1718 of file Gadget.c. References debug_Begin, debug_End, skin_GetInnerRect, TAG_GADGET_OBJECT, TAG_GADGET_RECT, tag_GetTagData, u32, and window_GetSkin. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1151 of file Gadget.c. References gadget_GetStateTL, and u32. |
|
||||||||||||
|
Definition at line 187 of file Gadget.c. References gadget_GetStateNameTL, and u32. |
|
|
Definition at line 191 of file Gadget.c. References debug_Begin, debug_End, GADST_NONE, state_names, TAG_GADGET_STATE_NAME, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
|
Definition at line 1155 of file Gadget.c. References debug_Begin, debug_End, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
|
Definition at line 2100 of file Gadget.c. References debug_Begin, debug_End, and u32. Referenced by gadget_GetUniqueIdTL, and gadget_NewTL. |
|
|
Definition at line 2096 of file Gadget.c. References gadget_GetUniqueId, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1555 of file Gadget.c. References gadget_HideAllTL, and u32. |
|
|
Definition at line 1559 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::flags, GAD_HIDDEN, gadget_FirstNode, gadget_NextNode, TAG_DONE, TAG_GADGET_HIDDEN, TAG_GADGET_OBJECT, TAG_GADGET_ROOT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
|
|
Definition at line 1174 of file Gadget.c. References Gadget_s::class_data, gadget_ClassData_t::color_count, Gadget_s::color_table, debug_Begin, debug_End, GADST_COUNT, mem_calloc, mem_free, skin_FillColorTable, gadget_ClassData_t::state_mask, u32, Gadget_s::window, and window_GetSkin. Referenced by gadget_ChangeSkin, and gadget_NewTL. |
|
||||||||||||
|
Definition at line 1908 of file Gadget.c. References gadget_InitGadgetTL, and u32. |
|
|
Definition at line 1912 of file Gadget.c. References debug_Begin, debug_End, GADEV_INIT_GADGET, TAG_GADGET_OBJECT, TAG_GADGET_TAGLIST, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1940 of file Gadget.c. References gadget_InputEventHandlerTL, and u32. |
|
|
Definition at line 1944 of file Gadget.c. References debug_Begin, debug_End, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 780 of file Gadget.c. References gadget_LastBrotherTL, and u32. |
|
|
Definition at line 784 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::next, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 668 of file Gadget.c. References gadget_LastChildTL, and u32. |
|
|
Definition at line 672 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::lastchild, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1971 of file Gadget.c. References gadget_LayoutTL, and u32. |
|
|
Definition at line 1975 of file Gadget.c. References tag::Data, debug_Begin, debug_End, debug_Message, GAD_ONSCREEN, GADEV_LAYOUT, skin_GetInnerRect, skin_RenderBehind, skin_RenderOver, TAG_DONE, TAG_GAD_RECT, TAG_GADGET_OBJECT, TAG_GADGET_RECT, tag_GetTagData, u32, and window_GetSkin. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 716 of file Gadget.c. References gadget_LeftBrotherTL, and u32. |
|
||||||||||||
|
Definition at line 804 of file Gadget.c. References gadget_LeftBrotherCircularTL, and u32. |
|
|
Definition at line 808 of file Gadget.c. References debug_Begin, debug_End, gadget_LastBrother, Gadget_s::prev, TAG_DONE, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
|
Definition at line 720 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::prev, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||||||
|
Definition at line 367 of file Gadget.c. References gui_App_t::conn, debug_Begin, debug_End, glw_OpenModule, mem_free, mem_malloc, net_LoadFile, prefs_GetString, skin_LoadSkin, TAG_DONE, TAG_NET_CONN, TAG_NET_LEN, TAG_NET_NAME, and u8. |
|
||||||||||||
|
Definition at line 579 of file Gadget.c. References gadget_MethodCallTL, and u32. |
|
|
Definition at line 583 of file Gadget.c. References debug_Begin, debug_End, gadget_Method_t::function, GADGET_METHOD_BASE, GADGET_METHOD_COUNT, gadget_SearchInWindow, TAG_DONE, TAG_GADGET_GADGET_ID, TAG_GADGET_METHOD, TAG_GADGET_OBJECT, TAG_GADGET_WINDOW, tag_GetTagDataChg, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1214 of file Gadget.c. References gadget_NewTL, and u32. |
|
|
||||||||||||
|
Definition at line 875 of file Gadget.c. References gadget_NextNodeTL, and u32. |
|
|
Definition at line 879 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::firstchild, Gadget_s::next, Gadget_s::parent, TAG_GADGET_OBJECT, TAG_GADGET_ROOT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 689 of file Gadget.c. References gadget_NthChildTL, and u32. |
|
|
Definition at line 693 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::firstchild, Gadget_s::next, TAG_GADGET_INDEX, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1042 of file Gadget.c. References gadget_PostMessageTL, and u32. |
|
|
Definition at line 1046 of file Gadget.c. References Gadget_s::class_data, debug_Begin, debug_End, glw_Event::event, Gadget_s::flags, gadget_ClassData_t::flags, GAD_HIDDEN, GAD_INVISIBLE, gadget_FirstNode, gadget_InputEventHandler, gadget_NextNode, gui_IsInside, glw_Event::mousex, glw_Event::mousey, Gadget_s::rect, TAG_DONE, TAG_GADGET_OBJECT, TAG_GADGET_ROOT, TAG_GADGET_WINDOW, tag_GetTagData, TAG_GUI_RECT, TAG_GUI_X, TAG_GUI_Y, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1496 of file Gadget.c. References gadget_RefreshTL, and u32. |
|
|
Definition at line 1500 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::flags, GAD_ONSCREEN, gadget_Layout, glw_RefreshWindowPartial, Window_s::handle, Gadget_s::rect, TAG_DONE, TAG_GADGET_OBJECT, TAG_GADGET_RECT, tag_GetTagData, u32, and Gadget_s::window. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 426 of file Gadget.c. References gadget_RegisterClassTL, and u32. |
|
|
||||||||||||
|
Definition at line 1446 of file Gadget.c. References gadget_RenderCustomTL, and u32. |
|
|
Definition at line 1450 of file Gadget.c. References tag::Data, debug_Begin, debug_End, GADEV_LAYOUT, GADGET_CUS_BACKGROUND, GADGET_CUS_LAYOUT, GADGET_CUS_REFRESH, glw_RefreshWindowPartial, skin_GetInnerRect, skin_RenderBackground, skin_RenderCustom, TAG_DONE, TAG_GAD_RECT, TAG_GADGET_CUSTOM, TAG_GADGET_FLAGS, TAG_GADGET_OBJECT, TAG_GADGET_RECT, tag_GetTagData, u32, and window_GetSkin. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1783 of file Gadget.c. References gadget_RestoreTL, and u32. |
|
|
Definition at line 1787 of file Gadget.c. References debug_Begin, debug_End, GADEV_RESTORE, TAG_GADGET_MEM, TAG_GADGET_OBJECT, TAG_GADGET_SIZE, tag_GetTagData, u32, and u8. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 736 of file Gadget.c. References gadget_RightBrotherTL, and u32. |
|
||||||||||||
|
Definition at line 828 of file Gadget.c. References gadget_RightBrotherCircularTL, and u32. |
|
|
Definition at line 832 of file Gadget.c. References debug_Begin, debug_End, gadget_FirstBrother, Gadget_s::next, TAG_DONE, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
|
Definition at line 740 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::next, TAG_GADGET_OBJECT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1747 of file Gadget.c. References gadget_SaveTL, and u32. |
|
|
Definition at line 1751 of file Gadget.c. References debug_Begin, debug_End, GADEV_SAVE, TAG_GADGET_MEM, TAG_GADGET_OBJECT, TAG_GADGET_SIZE, tag_GetTagData, u32, and u8. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1381 of file Gadget.c. References gadget_SearchTL, and u32. |
|
||||||||||||
|
Definition at line 1416 of file Gadget.c. References gadget_SearchInWindowTL, and u32. |
|
|
Definition at line 1420 of file Gadget.c. References debug_Begin, debug_End, gadget_Search, TAG_DONE, TAG_GADGET_GADGET_ID, TAG_GADGET_ROOT, TAG_GADGET_WINDOW, tag_GetTagData, u32, and window_GetRootGadget. Referenced by gadget_Init. |
|
|
Definition at line 1385 of file Gadget.c. References debug_Begin, debug_End, gadget_FirstNode, Gadget_s::gadget_id, gadget_NextNode, TAG_DONE, TAG_GADGET_GADGET_ID, TAG_GADGET_OBJECT, TAG_GADGET_ROOT, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||||||
|
Definition at line 2120 of file Gadget.c. References debug_Begin, debug_End, and u32. |
|
||||||||||||
|
Definition at line 220 of file Gadget.c. References debug_Begin, debug_End, Gadget_s::font, GADGET_DEFAULT_FONTSIZE, GADGET_FONTDECORATION_UNDERLINED, GADGET_FONTSTYLE_ITALIC, GADGET_FONTWEIGHT_BOLD, glw_CloseFont, glw_OpenFont, TAG_DONE, TAG_GAD_FONTDECORATION, TAG_GAD_FONTNAME, TAG_GAD_FONTSIZE, TAG_GAD_FONTSTYLE, TAG_GAD_FONTWEIGHT, tag_GetTagData, u32, Gadget_s::window, and window_GetConnection. Referenced by gadget_NewTL. |
|
||||||||||||
|
Definition at line 256 of file Gadget.c. References u32. |
|
||||||||||||
|
Definition at line 1005 of file Gadget.c. References gadget_SetStateTL, and u32. |
|
|
Definition at line 1009 of file Gadget.c. References Gadget_s::class_data, debug_Begin, debug_End, gadget_Refresh, Gadget_s::state, gadget_ClassData_t::state_mask, TAG_DONE, TAG_GADGET_OBJECT, TAG_GADGET_STATE, TAG_GADGET_VISUAL, tag_GetTagData, and u32. Referenced by gadget_Init. |
|
||||||||||||
|
Definition at line 1816 of file Gadget.c. References gadget_SuggestExtentTL, and u32. |
|
|
Definition at line 1820 of file Gadget.c. References tag::Data, debug_Begin, debug_End, debug_Message, GADEV_GET_EXTENT, GADEV_SUGGEST_EXTENT, GADGET_LAYOUT_SQUARE, Extent_t::height, Rect_t::height, max, min, skin_GetExtent, skin_GetInnerRect, TAG_DONE, TAG_GAD_EXTMAX, TAG_GAD_EXTMIN, TAG_GAD_RECT, TAG_GADGET_OBJECT, TAG_GADGET_RECT, tag_GetTagData, u32, Extent_t::width, Rect_t::width, and window_GetSkin. Referenced by gadget_Init. |
|
|
Definition at line 46 of file Gadget.c. Referenced by gadget_CallTL, and gadget_Init. |
|
|
|
|
|
Initial value:
{
{"font-name",TAG_GAD_FONTNAME,GADGET_STRING,""},
{"font-size",TAG_GAD_FONTSIZE,GADGET_INT,NULL},
{"font-style",TAG_GAD_FONTSTYLE,GADGET_SELECT,"normal|italic"},
{"font-weight",TAG_GAD_FONTWEIGHT,GADGET_SELECT,"normal|bold"},
{"font-decoration",TAG_GAD_FONTDECORATION,GADGET_SELECT,"normal|underline|line-through"},
{"skin",TAG_GAD_SKIN,GADGET_STRING,""},
{"hint",TAG_GAD_HINT,GADGET_STRING,""},
{"width",TAG_GAD_WIDTH,GADGET_INT,NULL},
{"height",TAG_GAD_HEIGHT,GADGET_INT,NULL},
{"layout",TAG_GAD_LAYOUT,GADGET_SELECT,"free|fixed|square"},
GADGET_BINDING_DONE
} |
|
|
Initial value:
{
{"set_font",gadget_SetFont,0L},
{"set_hint",gadget_SetHint,0L},
GADGET_METHOD_DONE
} |
|
|
|
|
|
Initial value:
{
"Normal",
"Pressed",
"Disabled",
"Focused",
"Default",
NULL
}Definition at line 70 of file Gadget.c. Referenced by gadget_GetStateNameTL. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002