Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_window.c
| Show First 20 Lines • Show All 2,185 Lines • ▼ Show 20 Lines | void WM_window_screen_rect_calc(const wmWindow *win, rcti *r_rect) | ||||
| *r_rect = screen_rect; | *r_rect = screen_rect; | ||||
| } | } | ||||
| bool WM_window_is_fullscreen(wmWindow *win) | bool WM_window_is_fullscreen(wmWindow *win) | ||||
| { | { | ||||
| return win->windowstate == GHOST_kWindowStateFullScreen; | return win->windowstate == GHOST_kWindowStateFullScreen; | ||||
| } | } | ||||
| bool WM_window_is_maximized(wmWindow *win) | |||||
| { | |||||
| return win->windowstate == GHOST_kWindowStateMaximized; | |||||
| } | |||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Window Screen/Scene/WorkSpaceViewLayer API | /** \name Window Screen/Scene/WorkSpaceViewLayer API | ||||
| * \{ */ | * \{ */ | ||||
| /** | /** | ||||
| * Some editor data may need to be synced with scene data (3D View camera and layers). | * Some editor data may need to be synced with scene data (3D View camera and layers). | ||||
| ▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines | |||||