Пример #1
0
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;
}
Пример #2
0
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;
}