class GeBaseDialog : _GeBaseDialog { public: GeBaseDialog(pluginid); SetTitle (title); AddItem (id,item,name); FreeItems (id); SetCheckbox (id,b); SetItem (id,item); SetFloat (id,val,min,max,step); SetFloatWithUnits(id,val,min,max,step,format); SetMeter (id,val,min,max,step); SetDegree (id,val,min,max,step); SetRadians (id,val,min,max,step); SetPercent (id,val,min,max,step); SetColorField (id,color); GetCheckbox (id); GetItem (id); GetMeter (id); GetDegree (id); GetRadians (id); GetPercent (id); LayoutChanged (id); Activate (id); CheckDropArea (id,msg,check_x,check_y); } GeBaseDialog::GeBaseDialog(pluginid) { super(pluginid,0); } GeBaseDialog::CheckDropArea(id,msg,check_x,check_y) { var x,y,w,h,dx,dy; dx = GetDragPosition(msg,0); dy = GetDragPosition(msg,1); x = GetItemPosX(id); y = GetItemPosY(id); w = GetItemWidth(id); h = GetItemHeight(id); if ( (!check_x || (dx>x && dxy && dy