< prev index next >

src/windows/native/sun/windows/awt_Window.h

Print this page
rev 1556 : 6794764: Translucent windows are completely repainted on every paint event, on Windows
6719382: Printing of AWT components on windows is not working
6726866: Repainting artifacts when resizing or dragging JInternalFrames in non-opaque toplevel
6683775: Painting artifacts is seen when panel is made setOpaque(false) for a translucent window
Reviewed-by: anthony, tdv, alexp


 316 
 317     AnimationKind securityAnimationKind;
 318 
 319     void StartSecurityAnimation(AnimationKind kind);
 320     void StopSecurityAnimation();
 321 
 322     void RepositionSecurityWarning(JNIEnv *env);
 323 
 324 public:
 325     void UpdateSecurityWarningVisibility();
 326     static bool IsWarningWindow(HWND hWnd);
 327 
 328 protected:
 329     BOOL m_isResizable;
 330     static AwtWindow* m_grabbedWindow; // Current grabbing window
 331     HICON m_hIcon;            /* Icon for this window. It can be set explicitely or inherited from the owner */
 332     HICON m_hIconSm;          /* Small icon for this window. It can be set explicitely or inherited from the owner */
 333     BOOL m_iconInherited;     /* TRUE if icon is inherited from the owner */
 334     BOOL m_filterFocusAndActivation; /* Used in the WH_CBT hook */
 335 
 336     //These are used in AwtComponent::CreatePrintedPixels. They are overridden
 337     //here to handle non-opaque windows.
 338     virtual void FillBackground(HDC hMemoryDC, SIZE &size);
 339     virtual void FillAlpha(void *bitmapBits, SIZE &size, BYTE alpha);
 340 
 341     inline BOOL IsUntrusted() {
 342         return warningString != NULL;
 343     }
 344 
 345     UINT currentWmSizeState;
 346 
 347 private:
 348     int m_screenNum;
 349 
 350     void InitOwner(AwtWindow *owner);
 351 };
 352 
 353 #endif /* AWT_WINDOW_H */


 316 
 317     AnimationKind securityAnimationKind;
 318 
 319     void StartSecurityAnimation(AnimationKind kind);
 320     void StopSecurityAnimation();
 321 
 322     void RepositionSecurityWarning(JNIEnv *env);
 323 
 324 public:
 325     void UpdateSecurityWarningVisibility();
 326     static bool IsWarningWindow(HWND hWnd);
 327 
 328 protected:
 329     BOOL m_isResizable;
 330     static AwtWindow* m_grabbedWindow; // Current grabbing window
 331     HICON m_hIcon;            /* Icon for this window. It can be set explicitely or inherited from the owner */
 332     HICON m_hIconSm;          /* Small icon for this window. It can be set explicitely or inherited from the owner */
 333     BOOL m_iconInherited;     /* TRUE if icon is inherited from the owner */
 334     BOOL m_filterFocusAndActivation; /* Used in the WH_CBT hook */
 335 





 336     inline BOOL IsUntrusted() {
 337         return warningString != NULL;
 338     }
 339 
 340     UINT currentWmSizeState;
 341 
 342 private:
 343     int m_screenNum;
 344 
 345     void InitOwner(AwtWindow *owner);
 346 };
 347 
 348 #endif /* AWT_WINDOW_H */
< prev index next >