Point Window_frameOrigin( Handle self, Bool set, Point frameOrigin) { if ( !set) return apc_widget_get_pos( self); apc_widget_set_pos( self, frameOrigin.x, frameOrigin.y); return frameOrigin; }
Point Widget_origin( Handle self, Bool set, Point origin) { if ( !set) return apc_widget_get_pos( self); apc_widget_set_pos( self, origin.x, origin.y); return origin; }