Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_api.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| void WM_script_tag_reload(void); | void WM_script_tag_reload(void); | ||||
| wmWindow *WM_window_find_under_cursor(wmWindow *win, const int mval[2], int r_mval[2]); | wmWindow *WM_window_find_under_cursor(wmWindow *win, const int mval[2], int r_mval[2]); | ||||
| void WM_window_pixel_sample_read(const wmWindowManager *wm, | void WM_window_pixel_sample_read(const wmWindowManager *wm, | ||||
| const wmWindow *win, | const wmWindow *win, | ||||
| const int pos[2], | const int pos[2], | ||||
| float r_col[3]); | float r_col[3]); | ||||
| wmWindow *WM_window_from_area(const wmWindowManager *wm, const struct ScrArea *area); | |||||
| uint *WM_window_pixels_read(struct wmWindowManager *wm, struct wmWindow *win, int r_size[2]); | uint *WM_window_pixels_read(struct wmWindowManager *wm, struct wmWindow *win, int r_size[2]); | ||||
| /** | /** | ||||
| * Support for native pixel size | * Support for native pixel size | ||||
| * | * | ||||
| * \note macOS retina opens window in size X, but it has up to 2 x more pixels. | * \note macOS retina opens window in size X, but it has up to 2 x more pixels. | ||||
| */ | */ | ||||
| int WM_window_pixels_x(const struct wmWindow *win); | int WM_window_pixels_x(const struct wmWindow *win); | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||