зеркало из https://github.com/mozilla/gecko-dev.git
Bug 498842 [IMM32] Move some #defines of nsToolkit.h to nsIMM32Handler r=VYV03354, sr=roc
This commit is contained in:
Родитель
b26d0196f1
Коммит
7abe1fa1df
|
@ -69,6 +69,23 @@ PRLogModuleInfo* gIMM32Log = nsnull;
|
|||
|
||||
#ifdef ENABLE_IME_MOUSE_HANDLING
|
||||
static UINT sWM_MSIME_MOUSE = 0; // mouse message for MSIME 98/2000
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
// from http://download.microsoft.com/download/6/0/9/60908e9e-d2c1-47db-98f6-216af76a235f/msime.h
|
||||
// The document for this has been removed from MSDN...
|
||||
//
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
#define RWM_MOUSE TEXT("MSIMEMouseOperation")
|
||||
|
||||
#define IMEMOUSE_NONE 0x00 // no mouse button was pushed
|
||||
#define IMEMOUSE_LDOWN 0x01
|
||||
#define IMEMOUSE_RDOWN 0x02
|
||||
#define IMEMOUSE_MDOWN 0x04
|
||||
#define IMEMOUSE_WUP 0x10 // wheel up
|
||||
#define IMEMOUSE_WDOWN 0x20 // wheel down
|
||||
|
||||
#endif
|
||||
|
||||
PRPackedBool nsIMM32Handler::sIsComposingOnPlugin = PR_FALSE;
|
||||
|
|
|
@ -166,21 +166,4 @@ private:
|
|||
nsCOMPtr<nsITimer> mTimer;
|
||||
};
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
// from http://download.microsoft.com/download/6/0/9/60908e9e-d2c1-47db-98f6-216af76a235f/msime.h
|
||||
// The document for this has been removed from MSDN...
|
||||
//
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
#define RWM_MOUSE TEXT("MSIMEMouseOperation")
|
||||
|
||||
#define IMEMOUSE_NONE 0x00 // no mouse button was pushed
|
||||
#define IMEMOUSE_LDOWN 0x01
|
||||
#define IMEMOUSE_RDOWN 0x02
|
||||
#define IMEMOUSE_MDOWN 0x04
|
||||
#define IMEMOUSE_WUP 0x10 // wheel up
|
||||
#define IMEMOUSE_WDOWN 0x20 // wheel down
|
||||
|
||||
#endif // TOOLKIT_H
|
||||
|
|
Загрузка…
Ссылка в новой задаче