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 */
|