1 /** \file 2 * \brief Contains all function pointer typedefs. 3 * 4 * See Copyright Notice in "iup.h" 5 */ 6 7 module iup.iupcbs; 8 9 import iup.iup : Ihandle; 10 11 struct _cdCanvas; 12 13 extern(C) nothrow : 14 15 alias IFidle = int function(); /* idle */ 16 17 alias IFi = void function(int); /* globalentermodal_cb, globalleavemodal_cb, */ 18 alias IFii = void function(int, int); /* globalkeypress_cb */ 19 alias IFiis = void function(int, int, char*); /* globalmotion_cb */ 20 alias IFiiiis = void function(int, int, int, int, char*); /* globalbutton_cb */ 21 alias IFfiis = void function(float,int,int,char*); /* globalwheel_cb */ 22 23 alias IFn = int function(Ihandle*); /* default definition, same as Icallback */ 24 alias IFni = int function(Ihandle*, int); /* k_any, show_cb, toggle_action, spin_cb, branchopen_cb, branchclose_cb, executeleaf_cb, showrename_cb, rightclick_cb, extended_cb, height_cb, width_cb */ 25 alias IFnii = int function(Ihandle*, int, int); /* resize_cb, caret_cb, matrix_mousemove_cb, enteritem_cb, leaveitem_cb, scrolltop_cb, dropcheck_cb, selection_cb, select_cb, switch_cb, scrolling_cb, vspan_cb, hspan_cb */ 26 alias IFniii = int function(Ihandle*, int, int, int); /* trayclick_cb, edition_cb */ 27 alias IFniiii = int function(Ihandle*, int, int, int, int); /* dragdrop_cb */ 28 alias IFniiiiiiC = int function(Ihandle*, int, int, int, int, int, int, _cdCanvas*); /* draw_cb */ 29 alias IFniiiiii = int function(Ihandle*, int, int, int, int, int, int); /* OLD draw_cb */ 30 31 alias IFnff = int function(Ihandle*, float, float); /* canvas_action, plotmotion_cb (pplot) */ 32 alias IFniff = int function(Ihandle*,int,float,float); /* scroll_cb */ 33 alias IFnfiis = int function(Ihandle*,float,int,int,char*); /* wheel_cb */ 34 35 alias IFnsVi = int function(Ihandle*, char*, void*, int); /* dragdata_cb */ 36 alias IFnsViii = int function(Ihandle*, char*, void*, int, int, int); /* dropdata_cb */ 37 alias IFnsiii = int function(Ihandle*, char*, int, int, int); /* dropfiles_cb */ 38 39 alias IFnnii = int function(Ihandle*, Ihandle*, int, int); /* drop_cb */ 40 alias IFnn = int function(Ihandle*, Ihandle*); /* savemarkers_cb, restoremarkers_cb */ 41 alias IFnnn = int function(Ihandle*, Ihandle*, Ihandle*); /* tabchange_cb */ 42 alias IFnss = int function(Ihandle*, char*, char*); /* file_cb */ 43 alias IFns = int function(Ihandle*, char*); /* multiselect_cb */ 44 alias IFnsi = int function(Ihandle*, char*, int); /* copydata_cb */ 45 alias IFnis = int function(Ihandle*, int, char*); /* text_action, multiline_action, edit_cb, rename_cb */ 46 alias IFnsii = int function(Ihandle*, char*, int, int); /* list_action */ 47 alias IFniis = int function(Ihandle*, int, int, char*); /* motion_cb, click_cb, value_edit_cb */ 48 alias IFniiis = int function(Ihandle*, int, int, int, char*); /* touch_cb, dblclick_cb */ 49 alias IFniiiis = int function(Ihandle*, int, int, int, int, char*); /* button_cb, matrix_action, mousemotion_cb */ 50 alias IFniiiiiis = int function(Ihandle*, int, int, int, int, int, int, char*); /* mouseclick_cb */ 51 52 alias IFnIi = int function(Ihandle*, int*, int); /* multiselection_cb, multiunselection_cb */ 53 alias IFnd = int function(Ihandle*, double); /* mousemove_cb, button_press_cb, button_release_cb */ 54 alias IFniiIII = int function(Ihandle*, int, int, int*, int*, int*); /* fgcolor_cb, bgcolor_cb */ 55 alias IFniinsii = int function(Ihandle*, int, int, Ihandle*, char*, int, int); /* dropselect_cb */ 56 alias IFnccc = int function(Ihandle*, ubyte, ubyte, ubyte); /* drag_cb, change_cb */ 57 alias IFniIIII = int function(Ihandle*, int, int*, int*, int*, int*); /* multitouch_cb */ 58 59 alias IFnC = int function(Ihandle*, _cdCanvas*); /* postdraw_cb, predraw_cb */ 60 alias IFniiff = int function(Ihandle*, int, int, float, float); /* delete_cb (pplot) */ 61 alias IFniiffi = int function(Ihandle*, int, int, float, float, int); /* select_cb (pplot) */ 62 alias IFniidd = int function(Ihandle*, int, int, double, double); /* delete_cb */ 63 alias IFniiddi = int function(Ihandle*, int, int, double, double, int); /* select_cb */ 64 alias IFniiddiddi = int function(Ihandle*, int, int, double, double, int, double, double, int); /* clicksegment_cb */ 65 alias IFniiffFF = int function(Ihandle*, int, int, float, float, float*, float*); /* edit_cb */ 66 alias IFniiffs = int function(Ihandle*, int, int, float, float, char*); /* plotbutton_cb (pplot) */ 67 alias IFniidds = int function(Ihandle*, int, int, double, double, char*); /* plotbutton_cb */ 68 alias IFndds = int function(Ihandle*, double, double, char*); /* plotmotion_cb */ 69 70 alias sIFnii = char* function(Ihandle*, int, int); /* value_cb, font_cb */ 71 alias sIFni = char* function(Ihandle*, int); /* cell_cb */ 72 alias sIFniis = char* function(Ihandle*, int, int, char*); /* translatevalue_cb */ 73 74 alias dIFnii = double function(Ihandle*, int, int); /* numericgetvalue_cb */ 75 alias IFniid = int function(Ihandle*, int, int, double); /* numericsetvalue_cb */