< prev index next >
src/java.desktop/windows/native/libawt/windows/awt_Window.h
Print this page
*** 240,249 ****
--- 240,250 ----
static void _SetOpaque(void* param);
static void _UpdateWindow(void* param);
static void _RepositionSecurityWarning(void* param);
static void _SetFullScreenExclusiveModeState(void* param);
static void _GetNativeWindowSize(void* param);
+ static void _WindowDPIChange(void* param);
inline static BOOL IsResizing() {
return sm_resizing;
}
*** 381,392 ****
--- 382,397 ----
inline Type GetType() { return m_windowType; }
private:
int m_screenNum;
+ int prevX;
+ int prevY;
void InitOwner(AwtWindow *owner);
+ void WindowDPIChange(int prevScreen, int newScreen);
+ void WindowDPIChange(float prevScaleX, float prevScaleY, float scaleX, float scaleY);
Type m_windowType;
void InitType(JNIEnv *env, jobject peer);
// Tweak the style according to the type of the window
< prev index next >