57 static jmethodID setSoundPropertyID; 58 59 private: 60 void GetXPStyleProperties(); 61 void GetSystemProperties(); 62 void GetNonClientParameters(); 63 void GetIconParameters(); 64 void GetColorParameters(); 65 void GetOtherParameters(); 66 void GetSoundEvents(); 67 void GetCaretParameters(); 68 69 static BOOL GetBooleanParameter(UINT spi); 70 static UINT GetIntegerParameter(UINT spi); 71 72 void SetBooleanProperty(LPCTSTR, BOOL); 73 void SetIntegerProperty(LPCTSTR, int); 74 void SetStringProperty(LPCTSTR, LPTSTR); 75 void SetColorProperty(LPCTSTR, DWORD); 76 void SetFontProperty(HDC, int, LPCTSTR); 77 void SetFontProperty(LPCTSTR, const LOGFONT &); 78 void SetSoundProperty(LPCTSTR, LPCTSTR); 79 80 JNIEnv * GetEnv() { 81 return (JNIEnv *)JNU_GetEnv(jvm, JNI_VERSION_1_2); 82 } 83 84 jobject self; 85 }; 86 87 #endif // AWT_DESKTOP_PROPERTIES_H | 57 static jmethodID setSoundPropertyID; 58 59 private: 60 void GetXPStyleProperties(); 61 void GetSystemProperties(); 62 void GetNonClientParameters(); 63 void GetIconParameters(); 64 void GetColorParameters(); 65 void GetOtherParameters(); 66 void GetSoundEvents(); 67 void GetCaretParameters(); 68 69 static BOOL GetBooleanParameter(UINT spi); 70 static UINT GetIntegerParameter(UINT spi); 71 72 void SetBooleanProperty(LPCTSTR, BOOL); 73 void SetIntegerProperty(LPCTSTR, int); 74 void SetStringProperty(LPCTSTR, LPTSTR); 75 void SetColorProperty(LPCTSTR, DWORD); 76 void SetFontProperty(HDC, int, LPCTSTR); 77 void SetFontProperty(HDC, int, LPCTSTR, float invScale); 78 void SetFontProperty(LPCTSTR, const LOGFONT &); 79 void SetFontProperty(LPCTSTR, const LOGFONT &, float invScale); 80 void SetSoundProperty(LPCTSTR, LPCTSTR); 81 82 JNIEnv * GetEnv() { 83 return (JNIEnv *)JNU_GetEnv(jvm, JNI_VERSION_1_2); 84 } 85 86 jobject self; 87 }; 88 89 #endif // AWT_DESKTOP_PROPERTIES_H |