Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
86c3638a
Commit
86c3638a
authored
Nov 23, 2010
by
Daniel Wyatt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add variables needed for win32 candidate list support.
parent
f8961256
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
19 deletions
+38
-19
SDL_win32video.h
src/video/win32/SDL_win32video.h
+38
-19
No files found.
src/video/win32/SDL_win32video.h
View file @
86c3638a
...
...
@@ -44,6 +44,9 @@
#include <imm.h>
#define MAX_CANDLIST 10
#define MAX_CANDLENGTH 256
#if SDL_VIDEO_RENDER_D3D
//#include <d3d9.h>
#define D3D_DEBUG_INFO
...
...
@@ -89,26 +92,26 @@ typedef struct
/* Definition from Win98DDK version of IMM.H */
typedef
struct
tagINPUTCONTEXT2
{
HWND
hWnd
;
BOOL
fOpen
;
POINT
ptStatusWndPos
;
POINT
ptSoftKbdPos
;
DWORD
fdwConversion
;
DWORD
fdwSentence
;
union
{
LOGFONTA
A
;
LOGFONTW
W
;
HWND
hWnd
;
BOOL
fOpen
;
POINT
ptStatusWndPos
;
POINT
ptSoftKbdPos
;
DWORD
fdwConversion
;
DWORD
fdwSentence
;
union
{
LOGFONTA
A
;
LOGFONTW
W
;
}
lfFont
;
COMPOSITIONFORM
cfCompForm
;
CANDIDATEFORM
cfCandForm
[
4
];
HIMCC
hCompStr
;
HIMCC
hCandInfo
;
HIMCC
hGuideLine
;
HIMCC
hPrivate
;
DWORD
dwNumMsgBuf
;
HIMCC
hMsgBuf
;
DWORD
fdwInit
;
DWORD
dwReserve
[
3
];
COMPOSITIONFORM
cfCompForm
;
CANDIDATEFORM
cfCandForm
[
4
];
HIMCC
hCompStr
;
HIMCC
hCandInfo
;
HIMCC
hGuideLine
;
HIMCC
hPrivate
;
DWORD
dwNumMsgBuf
;
HIMCC
hMsgBuf
;
DWORD
fdwInit
;
DWORD
dwReserve
[
3
];
}
INPUTCONTEXT2
,
*
PINPUTCONTEXT2
,
NEAR
*
NPINPUTCONTEXT2
,
FAR
*
LPINPUTCONTEXT2
;
/* Private display data */
...
...
@@ -147,6 +150,22 @@ typedef struct SDL_VideoData
WCHAR
ime_readingstring
[
16
];
int
ime_cursor
;
SDL_bool
ime_candlist
;
WCHAR
ime_candidates
[
MAX_CANDLIST
][
MAX_CANDLENGTH
];
DWORD
ime_candcount
;
DWORD
ime_candref
;
DWORD
ime_candsel
;
UINT
ime_candpgsize
;
int
ime_candlistindexbase
;
SDL_bool
ime_candvertical
;
SDL_Texture
*
ime_candtex
;
SDL_bool
ime_dirty
;
SDL_Rect
ime_rect
;
SDL_Rect
ime_candlistrect
;
int
ime_winwidth
;
int
ime_winheight
;
HKL
ime_hkl
;
HMODULE
ime_himm32
;
UINT
(
WINAPI
*
GetReadingString
)(
HIMC
himc
,
UINT
uReadingBufLen
,
LPWSTR
lpwReadingBuf
,
PINT
pnErrorIndex
,
BOOL
*
pfIsVertical
,
PUINT
puMaxReadingLen
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment