< prev index next >
src/java.desktop/windows/native/libawt/windows/awt_Component.h
Print this page
rev 60071 : 8211999: Window positioning bugs due to overlapping GraphicsDevice bounds (Windows/HiDPI)
Reviewed-by: XXX
@@ -273,10 +273,11 @@
static UINT LangToCodePage(LANGID idLang);
/*
* methods on this component
*/
+ virtual int GetScreenImOn();
virtual void Show();
virtual void Hide();
virtual void Reshape(int x, int y, int w, int h);
void ReshapeNoScale(int x, int y, int w, int h);
@@ -753,13 +754,17 @@
virtual void FillBackground(HDC hMemoryDC, SIZE &size);
virtual void FillAlpha(void *bitmapBits, SIZE &size, BYTE alpha);
int ScaleUpX(int x);
+ int ScaleUpAbsX(int x);
int ScaleUpY(int y);
+ int ScaleUpAbsY(int y);
int ScaleDownX(int x);
+ int ScaleDownAbsX(int x);
int ScaleDownY(int y);
+ int ScaleDownAbsY(int y);
private:
/* A bitmask keeps the button's numbers as MK_LBUTTON, MK_MBUTTON, MK_RBUTTON
* which are allowed to
* generate the CLICK event after the RELEASE has happened.
< prev index next >