add doc
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@706 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
51df555b5a
commit
b7fee743dc
12 changed files with 48 additions and 12 deletions
|
|
@ -41,6 +41,9 @@
|
|||
MwLLMakeBorderless = MwLLMakeBorderlessImpl; \
|
||||
MwLLMakeToolWindow = MwLLMakeToolWindowImpl; \
|
||||
MwLLMakePopup = MwLLMakePopupImpl; \
|
||||
\
|
||||
MwLLBeginStateChange = MwLLBeginStateChangeImpl; \
|
||||
MwLLEndStateChange = MwLLEndStateChangeImpl; \
|
||||
\
|
||||
MwLLSetBackground = MwLLSetBackgroundImpl; \
|
||||
\
|
||||
|
|
|
|||
|
|
@ -706,6 +706,14 @@ static void MwLLMakeToolWindowImpl(MwLL handle) {
|
|||
SetWindowPos(handle->gdi.hWnd, NULL, 0, 0, rc.right - rc.left, rc.bottom - rc.top, SWP_FRAMECHANGED | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER);
|
||||
}
|
||||
|
||||
static void MwLLBeginStateChangeImpl(MwLL handle){
|
||||
(void)handle;
|
||||
}
|
||||
|
||||
static void MwLLEndStateChangeImpl(MwLL handle){
|
||||
(void)handle;
|
||||
}
|
||||
|
||||
static int MwLLGDICallInitImpl(void) {
|
||||
/* TODO: check properly */
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -80,7 +80,6 @@ static void wait_map(MwLL handle) {
|
|||
|
||||
XGetWindowAttributes(handle->x11.display, handle->x11.window, &xwa);
|
||||
if(xwa.map_state != IsViewable) {
|
||||
|
||||
XSync(handle->x11.display, False);
|
||||
|
||||
XMapWindow(handle->x11.display, handle->x11.window);
|
||||
|
|
@ -972,6 +971,14 @@ static void MwLLMakeToolWindowImpl(MwLL handle) {
|
|||
XChangeProperty(handle->x11.display, handle->x11.window, wndtype, XA_ATOM, 32, PropModeReplace, (unsigned char*)&wndmenu, 1);
|
||||
}
|
||||
|
||||
static void MwLLBeginStateChangeImpl(MwLL handle){
|
||||
MwLLShow(handle, 0);
|
||||
}
|
||||
|
||||
static void MwLLEndStateChangeImpl(MwLL handle){
|
||||
MwLLShow(handle, 1);
|
||||
}
|
||||
|
||||
static int MwLLX11CallInitImpl(void) {
|
||||
/* TODO: check properly */
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue