comparison android/dw.cpp @ 2696:bc7c16800892

Android: dw_window_get_pos_size() isn't supported on Android... but zero out any passed variables for safety purposes.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 02 Nov 2021 20:17:37 +0000
parents 11aaf443d64b
children 4470089e14b3
comparison
equal deleted inserted replaced
2695:11aaf443d64b 2696:bc7c16800892
5882 * width: Width of the widget or nullptr. 5882 * width: Width of the widget or nullptr.
5883 * height: Height of the widget or nullptr. 5883 * height: Height of the widget or nullptr.
5884 */ 5884 */
5885 void API dw_window_get_pos_size(HWND handle, LONG *x, LONG *y, ULONG *width, ULONG *height) 5885 void API dw_window_get_pos_size(HWND handle, LONG *x, LONG *y, ULONG *width, ULONG *height)
5886 { 5886 {
5887 if(x)
5888 *x = 0;
5889 if(y)
5890 *y = 0;
5891 if(width)
5892 *width = 0;
5893 if(height)
5894 *height = 0;
5887 } 5895 }
5888 5896
5889 static jlong _dw_screen_dimensions = 0; 5897 static jlong _dw_screen_dimensions = 0;
5890 5898
5891 /* 5899 /*