DFBResult IWindow_Real::SetBounds( const DFBRectangle *bounds ) { D_DEBUG_AT( Core_Window, "IWindow_Real::%s( %p )\n", __FUNCTION__, obj ); D_MAGIC_ASSERT( obj, CoreWindow ); return dfb_window_set_bounds( obj, DFB_RECTANGLE_VALS( bounds ) ); }
static DFBResult IDirectFBWindow_SetBounds( IDirectFBWindow *thiz, int x, int y, int width, int height ) { DIRECT_INTERFACE_GET_DATA(IDirectFBWindow) D_DEBUG_AT( IDirectFB_Window, "%s()\n", __FUNCTION__ ); if (data->destroyed) return DFB_DESTROYED; D_DEBUG_AT( IDirectFB_Window, "IDirectFBWindow_SetBounds( %d, %d - %dx%d )\n", x, y, width, height ); return dfb_window_set_bounds( data->window, x, y, width, height ); }