#include "precomp.h"
#include "softkbd.h"
Go to the source code of this file.
Defines | |
#define | CHECK_RECT(name) |
Functions | |
VOID | InitSKC1ButtonPos () |
VOID | SKC1DrawConvexRect (HDC hDC, int x, int y, int nWidth, int nHeight) |
VOID | SKC1InvertButton (HDC hDC, int uKeyIndex) |
VOID | SKC1DrawBitmap (HDC hDC, int x, int y, int nWidth, int nHeight, LPWSTR lpszBitmap) |
VOID | SKC1DrawLabel (HDC hDC, LPWSTR lpszLabel) |
VOID | InitSKC1Bitmap (HDC hDC, RECT rcClient) |
LRESULT | CreateC1Window (HWND hSKWnd) |
VOID | DestroyC1Window (HWND hSKWnd) |
VOID | ShowSKC1Window (HDC hDC, HWND hSKWnd) |
BOOL | UpdateSKC1Window (HWND hSKWnd, LPSOFTKBDDATA lpSoftKbdData) |
VOID | SKC1DrawDragBorder (HWND hWnd, LPPOINT lpptCursor, LPPOINT lpptOffset) |
INT | SKC1MousePosition (LPPOINT lpptCursor) |
VOID | SKC1ButtonDown (HWND hSKWnd, PSKC1CTXT pSKC1Ctxt) |
BOOL | SKC1SetCursor (HWND hSKWnd, LPARAM lParam) |
BOOL | SKC1MouseMove (HWND hSKWnd, WPARAM wParam, LPARAM lParam) |
BOOL | SKC1ButtonUp (HWND hSKWnd, WPARAM wParam, LPARAM lParam) |
LRESULT | SKWndProcC1 (HWND hSKWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
Variables | |
CONST BYTE | SKC1VirtKey [BUTTON_NUM_C1] |
POINT | gptButtonPos [BUTTON_NUM_C1] |
BOOL | gfSoftKbdC1Init = FALSE |
|
Value:
Definition at line 670 of file sftkbdc1.c. Referenced by SKC1MousePosition(). |
|
Definition at line 342 of file sftkbdc1.c. References GetClientRect(), GetDC, gfSoftKbdC1Init, _tagSKC1CTXT::hSoftkbd, InitSKC1Bitmap(), InitSKC1ButtonPos(), L, _tagSKC1CTXT::lfCharSet, PSKC1CTXT, ReleaseDC(), SetWindowLongPtr(), SKC1_CONTEXT, SKC1CTXT, TRUE, and _tagSKC1CTXT::uKeyIndex. Referenced by SKWndProcC1().
|
|
Definition at line 410 of file sftkbdc1.c. References FLAG_DRAG_C1, GetWindow(), GetWindowLongPtr(), _tagSKC1CTXT::hSoftkbd, _tagSKC1CTXT::ptSkCursor, _tagSKC1CTXT::ptSkOffset, SendMessage(), SKC1_CONTEXT, SKC1DrawDragBorder(), _tagSKC1CTXT::uState, and VOID(). Referenced by SKWndProcC1().
|
|
Definition at line 269 of file sftkbdc1.c. References BACKSP_C1, BACKSP_TYPE_C1, BORDER_C1, CAPS_C1, CAPS_TYPE_C1, DEL_C1, DEL_TYPE_C1, ENTER_C1, ENTER_TYPE_C1, ESC_C1, ESC_TYPE_C1, gptButtonPos, H_BACKSP_C1, H_BOTTOM_BTN_C1, H_CAPS_C1, H_DEL_C1, H_ENTER_C1, H_ESC_C1, H_INS_C1, H_LETTER_BTN_C1, H_SHIFT_C1, H_TAB_C1, INS_C1, INS_TYPE_C1, LABEL_C1, LETTER_NUM_C1, SHIFT_C1, SHIFT_TYPE_C1, SKC1DrawBitmap(), SKC1DrawConvexRect(), SKC1DrawLabel(), SPACE_TYPE_C1, TAB_C1, TAB_TYPE_C1, VOID(), W_BACKSP_C1, W_CAPS_C1, W_DEL_C1, W_ENTER_C1, W_ESC_C1, W_INS_C1, W_LETTER_BTN_C1, W_SHIFT_C1, W_SPACE_C1, and W_TAB_C1. Referenced by CreateC1Window().
|
|
|
Definition at line 449 of file sftkbdc1.c. References GetClientRect(), GetWindowLongPtr(), _tagSKC1CTXT::hSoftkbd, SKC1_CONTEXT, and VOID(). Referenced by SKWndProcC1().
|
|
Definition at line 716 of file sftkbdc1.c. References BOOL, FALSE, FLAG_DRAG_C1, FLAG_FOCUS_C1, FLAG_SHIFT_C1, GetDC, _tagSKC1CTXT::hSoftkbd, LETTER_NUM_C1, MessageBeep(), _tagSKC1CTXT::ptSkCursor, _tagSKC1CTXT::ptSkOffset, ReleaseDC(), SetCapture, SHIFT_TYPE_C1, SKC1DrawDragBorder(), SKC1InvertButton(), TRUE, UINT, _tagSKC1CTXT::uKeyIndex, _tagSKC1CTXT::uState, VOID(), _tagSKC1CTXT::wNonShiftCode, and _tagSKC1CTXT::wShiftCode. Referenced by SKC1SetCursor().
|
|
Definition at line 914 of file sftkbdc1.c. References BOOL, BYTE, DWORD, FALSE, FLAG_DRAG_C1, FLAG_FOCUS_C1, FLAG_SHIFT_C1, GetDC, GetWindow(), GetWindowLongPtr(), guScanCode, _tagSKC1CTXT::hSoftkbd, ImmLockIMC(), ImmUnlockIMC(), keybd_event(), LETTER_NUM_C1, NULL, _tagSKC1CTXT::ptSkCursor, _tagSKC1CTXT::ptSkOffset, ReleaseCapture(), ReleaseDC(), SetWindowPos, SHIFT_TYPE_C1, SKC1_CONTEXT, SKC1DrawDragBorder(), SKC1InvertButton(), SKC1VirtKey, TRUE, UINT, _tagSKC1CTXT::uKeyIndex, and _tagSKC1CTXT::uState. Referenced by SKWndProcC1().
|
|
Definition at line 211 of file sftkbdc1.c. References ghInst, and VOID(). Referenced by InitSKC1Bitmap().
|
|
Definition at line 117 of file sftkbdc1.c. References BORDER_C1, and VOID(). Referenced by InitSKC1Bitmap().
|
|
Definition at line 601 of file sftkbdc1.c. References GetAllMonitorSize(), GetSystemMetrics(), GetWindowRect(), hWnd, L, NULL, and VOID(). Referenced by DestroyC1Window(), SKC1ButtonDown(), SKC1ButtonUp(), and SKC1MouseMove().
|
|
Definition at line 240 of file sftkbdc1.c. References ghInst, gptButtonPos, LETTER_NUM_C1, SIZELABEL_C1, VOID(), X_LABEL_C1, and Y_LABEL_C1. Referenced by InitSKC1Bitmap().
|
|
Definition at line 147 of file sftkbdc1.c. References BACKSP_TYPE_C1, BORDER_C1, CAPS_TYPE_C1, DEL_TYPE_C1, ENTER_TYPE_C1, ESC_TYPE_C1, gptButtonPos, H_BOTTOM_BTN_C1, H_LETTER_BTN_C1, INS_TYPE_C1, LETTER_NUM_C1, SHIFT_TYPE_C1, SPACE_TYPE_C1, TAB_TYPE_C1, VOID(), W_BACKSP_C1, W_CAPS_C1, W_DEL_C1, W_ENTER_C1, W_ESC_C1, W_INS_C1, W_LETTER_BTN_C1, W_SHIFT_C1, W_SPACE_C1, and W_TAB_C1. Referenced by SKC1ButtonDown(), SKC1ButtonUp(), SKC1MouseMove(), and UpdateSKC1Window().
|
|
Definition at line 844 of file sftkbdc1.c. References BOOL, FALSE, FLAG_DRAG_C1, FLAG_FOCUS_C1, FLAG_SHIFT_C1, GetCursorPos(), GetDC, GetWindowLongPtr(), _tagSKC1CTXT::hSoftkbd, _tagSKC1CTXT::ptSkCursor, _tagSKC1CTXT::ptSkOffset, ReleaseDC(), ScreenToClient(), SHIFT_TYPE_C1, SKC1_CONTEXT, SKC1DrawDragBorder(), SKC1InvertButton(), SKC1MousePosition(), TRUE, _tagSKC1CTXT::uKeyIndex, and _tagSKC1CTXT::uState. Referenced by SKWndProcC1().
|
|
Definition at line 679 of file sftkbdc1.c. References CHECK_RECT, ENTER, gptButtonPos, H_LETTER_BTN_C1, ImmPtInRect(), INT, LETTER_NUM_C1, SHIFT, SPACE, and W_LETTER_BTN_C1. Referenced by SKC1MouseMove(), and SKC1SetCursor().
|
|
Definition at line 783 of file sftkbdc1.c. References BOOL, FALSE, FLAG_DRAG_C1, GetCursorPos(), GetWindowLongPtr(), NULL, _tagSKC1CTXT::ptSkCursor, _tagSKC1CTXT::ptSkOffset, ScreenToClient(), SetCursor, SKC1_CONTEXT, SKC1ButtonDown(), SKC1MousePosition(), TRUE, _tagSKC1CTXT::uKeyIndex, and _tagSKC1CTXT::uState. Referenced by SKWndProcC1().
|
|
Definition at line 1042 of file sftkbdc1.c. References BeginPaint, CreateC1Window(), DefWindowProc(), DestroyC1Window(), FALSE, GetDC, GetWindowLongPtr(), GetWindowRect(), L, _tagSKC1CTXT::lfCharSet, LPSKC1CTXT, NULL, ReleaseDC(), SetWindowPos, ShowSKC1Window(), SKC1_CONTEXT, SKC1ButtonUp(), SKC1MouseMove(), SKC1SetCursor(), UINT, UpdateSKC1Window(), and _tagSKC1CTXT::uSubtype. Referenced by RegisterSoftKeyboard().
|
|
Definition at line 489 of file sftkbdc1.c. References BOOL, BYTE, FALSE, FLAG_SHIFT_C1, GetDC, GetWindowLongPtr(), gptButtonPos, _tagSKC1CTXT::hSoftkbd, LETTER_NUM_C1, _tagSKC1CTXT::lfCharSet, NULL, ReleaseDC(), SHIFT_TYPE_C1, SIZEFONT_C1, SKC1_CONTEXT, SKC1InvertButton(), SKC1VirtKey, TRUE, _tagSKC1CTXT::uState, _tagSKC1CTXT::wNonShiftCode, _tagSKC1CTXT::wShiftCode, X_NONSHIFT_CHAR_C1, X_SHIFT_CHAR_C1, Y_NONSHIFT_CHAR_C1, and Y_SHIFT_CHAR_C1. Referenced by SKWndProcC1().
|
|
Definition at line 27 of file sftkbdc1.c. Referenced by CreateC1Window(). |
|
Definition at line 26 of file sftkbdc1.c. Referenced by InitSKC1Bitmap(), InitSKC1ButtonPos(), SKC1DrawLabel(), SKC1InvertButton(), SKC1MousePosition(), and UpdateSKC1Window(). |
|
Initial value:
Definition at line 17 of file sftkbdc1.c. Referenced by SKC1ButtonUp(), and UpdateSKC1Window(). |