Cleanup: remove unused window position function

This commit is contained in:
Campbell Barton
2024-09-17 12:44:44 +10:00
parent 4df0dc4181
commit fffec9a12a
2 changed files with 0 additions and 7 deletions

View File

@@ -2533,12 +2533,6 @@ void WM_progress_clear(wmWindow *win)
/** \name Window Position/Size (internal)
* \{ */
void wm_window_get_position(wmWindow *win, int *r_pos_x, int *r_pos_y)
{
*r_pos_x = win->posx;
*r_pos_y = win->posy;
}
void wm_window_set_size(wmWindow *win, int width, int height)
{
GHOST_SetClientSize(static_cast<GHOST_WindowHandle>(win->ghostwin), width, height);

View File

@@ -97,7 +97,6 @@ void wm_window_reset_drawable();
void wm_window_raise(wmWindow *win);
void wm_window_lower(wmWindow *win);
void wm_window_set_size(wmWindow *win, int width, int height);
void wm_window_get_position(wmWindow *win, int *r_pos_x, int *r_pos_y);
/**
* \brief Push rendered buffer to the screen.
*/