< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Toolkit.h

Print this page




 159 }
 160 
 161 /************************************************************************
 162  * AwtToolkit class
 163  */
 164 
 165 class AwtToolkit {
 166 public:
 167     enum {
 168         KB_STATE_SIZE = 256
 169     };
 170 
 171     /* java.awt.Toolkit method ids */
 172     static jmethodID getDefaultToolkitMID;
 173     static jmethodID getFontMetricsMID;
 174         static jmethodID insetsMID;
 175 
 176     /* sun.awt.windows.WToolkit ids */
 177     static jmethodID windowsSettingChangeMID;
 178     static jmethodID displayChangeMID;



 179 
 180     BOOL m_isDynamicLayoutSet;
 181 
 182     AwtToolkit();
 183     ~AwtToolkit();
 184 
 185     BOOL Initialize(BOOL localPump);
 186     BOOL Dispose();
 187 
 188     void SetDynamicLayout(BOOL dynamic);
 189     BOOL IsDynamicLayoutSet();
 190     BOOL IsDynamicLayoutSupported();
 191     BOOL IsDynamicLayoutActive();
 192     BOOL areExtraMouseButtonsEnabled();
 193     void setExtraMouseButtonsEnabled(BOOL enable);
 194     static UINT GetNumberOfButtons();
 195 
 196     INLINE BOOL localPump() { return m_localPump; }
 197     INLINE BOOL VerifyComponents() { return FALSE; } // TODO: Use new DebugHelper class to set this flag
 198     INLINE HWND GetHWnd() { return m_toolkitHWnd; }




 159 }
 160 
 161 /************************************************************************
 162  * AwtToolkit class
 163  */
 164 
 165 class AwtToolkit {
 166 public:
 167     enum {
 168         KB_STATE_SIZE = 256
 169     };
 170 
 171     /* java.awt.Toolkit method ids */
 172     static jmethodID getDefaultToolkitMID;
 173     static jmethodID getFontMetricsMID;
 174     static jmethodID insetsMID;
 175 
 176     /* sun.awt.windows.WToolkit ids */
 177     static jmethodID windowsSettingChangeMID;
 178     static jmethodID displayChangeMID;
 179 
 180     static jmethodID userSessionMID;
 181     static jmethodID systemSleepMID;
 182 
 183     BOOL m_isDynamicLayoutSet;
 184 
 185     AwtToolkit();
 186     ~AwtToolkit();
 187 
 188     BOOL Initialize(BOOL localPump);
 189     BOOL Dispose();
 190 
 191     void SetDynamicLayout(BOOL dynamic);
 192     BOOL IsDynamicLayoutSet();
 193     BOOL IsDynamicLayoutSupported();
 194     BOOL IsDynamicLayoutActive();
 195     BOOL areExtraMouseButtonsEnabled();
 196     void setExtraMouseButtonsEnabled(BOOL enable);
 197     static UINT GetNumberOfButtons();
 198 
 199     INLINE BOOL localPump() { return m_localPump; }
 200     INLINE BOOL VerifyComponents() { return FALSE; } // TODO: Use new DebugHelper class to set this flag
 201     INLINE HWND GetHWnd() { return m_toolkitHWnd; }


< prev index next >