Home
last modified time | relevance | path

Searched refs:inputWindow (Results 1 – 25 of 122) sorted by relevance

12345

/dports/chinese/fcitx-ui-light/fcitx-ui-light-0.1.3/src/
H A DInputWindow.c92 inputWindow->window_gc = XCreateGC(inputWindow->dpy, inputWindow->window, 0, &gcvalues); in InitInputWindow()
93 inputWindow->pixmap_gc = XCreateGC(inputWindow->dpy, inputWindow->pixmap, 0, &gcvalues); in InitInputWindow()
94 inputWindow->pixmap2_gc = XCreateGC(inputWindow->dpy, inputWindow->pixmap2, 0, &gcvalues); in InitInputWindow()
164 XMapRaised (inputWindow->dpy, inputWindow->window); in DisplayInputWindow()
171 …DrawInputBar(inputWindow, cursorPos, inputWindow->msgUp, inputWindow->msgDown, &inputWindow->iInpu… in DrawInputWindow()
241 XFreeGC(inputWindow->dpy, inputWindow->window_gc); in ReloadInputWindow()
242 XFreeGC(inputWindow->dpy, inputWindow->pixmap_gc); in ReloadInputWindow()
243 XFreeGC(inputWindow->dpy, inputWindow->pixmap2_gc); in ReloadInputWindow()
245 XFreePixmap(inputWindow->dpy, inputWindow->pixmap2); in ReloadInputWindow()
246 XFreePixmap(inputWindow->dpy, inputWindow->pixmap); in ReloadInputWindow()
[all …]
H A Ddraw.c96 #define FONTHEIGHT FontHeight(inputWindow->dpy, inputWindow->owner->xftfont)
197 strWidth = StringWidth(inputWindow->dpy, inputWindow->owner->xftfont, strUp[i]); in DrawInputBar()
250 strWidth = StringWidth(inputWindow->dpy, inputWindow->owner->xftfont, strDown[i]); in DrawInputBar()
257 strWidth = StringWidth(inputWindow->dpy, inputWindow->owner->xftfont, strDown[i]); in DrawInputBar()
289 DrawResizableBackground(inputWindow->owner, inputWindow->pixmap2, newHeight, newWidth, in DrawInputBar()
296 GC gc = XCreateGC(inputWindow->dpy, inputWindow->pixmap, 0, &gcvalues); in DrawInputBar()
298 inputWindow->dpy, in DrawInputBar()
300 inputWindow->pixmap, in DrawInputBar()
315 …putString(inputWindow->dpy, inputWindow->xftDraw, inputWindow->pixmap, inputWindow->owner->xftfont… in DrawInputBar()
322 …String(inputWindow->dpy, inputWindow->xftDraw, inputWindow->pixmap, inputWindow->owner->xftfont, s… in DrawInputBar()
[all …]
H A DInputWindow.h75 void MoveInputWindowInternal(InputWindow* inputWindow);
76 void CloseInputWindowInternal(InputWindow* inputWindow);
77 void DrawInputWindow(InputWindow* inputWindow);
78 void ShowInputWindowInternal(InputWindow* inputWindow);
H A Ddraw.h54 void DrawInputBar(struct _InputWindow* inputWindow, int cursorPos, struct _FcitxMessages * msgup, s…
55 void LoadInputMessage(struct _InputWindow* inputWindow, const char* font);
/dports/chinese/fcitx/fcitx-4.2.9.7/src/ui/classic/
H A DInputWindow.c88 return inputWindow; in InputWindowCreate()
100inputWindow->cursorPos = FcitxUINewMessageToOldStyleMessage(instance, inputWindow->msgUp, inputWin… in InputWindowCalculateContentSize()
119 int *posUpX = inputWindow->posUpX, *posUpY = inputWindow->posUpY; in InputWindowCalculateContentSize()
120 int *posDownX = inputWindow->posDownX, *posDownY = inputWindow->posDownY; in InputWindowCalculateContentSize()
404 XUnmapWindow(inputWindow->parent.owner->dpy, inputWindow->parent.wId); in InputWindowClose()
421 if (!WindowIsVisable(inputWindow->parent.owner->dpy, inputWindow->parent.wId)) in InputWindowShow()
423 XMapRaised(inputWindow->parent.owner->dpy, inputWindow->parent.wId); in InputWindowShow()
440 int *posUpX = inputWindow->posUpX, *posUpY = inputWindow->posUpY; in InputWindowPaint()
441 int *posDownX = inputWindow->posDownX, *posDownY = inputWindow->posDownY; in InputWindowPaint()
449inputWindow->prevRect.x1 = inputWindow->prevRect.y1 = inputWindow->prevRect.x2 = inputWindow->prev… in InputWindowPaint()
[all …]
H A DInputWindow.h75 void InputWindowClose(InputWindow* inputWindow);
76 void InputWindowShow(InputWindow* inputWindow);
H A Dclassicui.c158 classicui->inputWindow = InputWindowCreate(classicui); in ClassicUICreate()
220 classicui->inputWindow->highlight = 0; in ClassicUIInputReset()
226 InputWindowClose(classicui->inputWindow); in ClassicUICloseInputWindow()
232 InputWindowShow(classicui->inputWindow); in ClassicUIShowInputWindow()
238 classicui->inputWindow->parent.MoveWindow(&classicui->inputWindow->parent); in ClassicUIMoveInputWindow()
313 InputWindowClose(classicui->inputWindow); in ClassicUISuspend()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/sys/system/IO/compression/
H A DFastEncoder.cs8 private FastEncoderWindow inputWindow; // input history window field in System.IO.Compression.FastEncoder
13 inputWindow = new FastEncoderWindow(); in FastEncoder()
19 return inputWindow.BytesAvailable;
25 return inputWindow.UnprocessedInput;
30 inputWindow.FlushWindow(); in FlushInput()
69 int bytesToCopy = (input.Count < inputWindow.FreeWindowSpace) ? in GetCompressedOutput()
70 input.Count : inputWindow.FreeWindowSpace; in GetCompressedOutput()
76 inputWindow.CopyBytes(input.Buffer, input.StartIndex, bytesToCopy); in GetCompressedOutput()
99 while (inputWindow.BytesAvailable > 0 && SafeToWriteTo(output)) { in GetCompressedOutput()
103 inputWindow.GetNextSymbolOrMatch(currentMatch); in GetCompressedOutput()
/dports/games/xboing/xboing/
H A Ddialogue.c192 XMapWindow(display, inputWindow);
195 DrawStageBackground(display, inputWindow, BACKGROUND_1, True);
196 XSetWindowBorder(display, inputWindow, red);
199 DrawShadowCentredText(display, inputWindow, textFont,
207 RenderShape(display, inputWindow,
212 RenderShape(display, inputWindow,
217 DrawLine(display, inputWindow, 10, 45, dw - 10, 45, white, 2);
236 while (WindowFadeEffect(display, inputWindow,
242 XUnmapWindow(display, inputWindow);
285 XClearArea(display, inputWindow, 0, 50, DIALOGUE_WIDTH, 50, False);
[all …]
/dports/games/egl/egl-0.3.1_9/client/
H A Dgui_keys.c37 if (!cl_guiState.inputWindow) in GUI_KeyUp()
40 gui = cl_guiState.inputWindow->shared->cursor.curWindow; in GUI_KeyUp()
66 if (!cl_guiState.inputWindow) in GUI_KeyDown()
69 gui = cl_guiState.inputWindow->shared->cursor.curWindow; in GUI_KeyDown()
H A Dgui_cursor.c120 cl_guiState.inputWindow = NULL; in GUI_CursorUpdate()
141 cl_guiState.inputWindow = gui; in GUI_CursorUpdate()
185 gui = cl_guiState.inputWindow; in GUI_MoveMouse()
276 gui = cl_guiState.inputWindow; in GUI_AdjustCursor()
/dports/graphics/netpbm/netpbm-10.91.01/editor/
H A Dpamdice.c343 struct inputWindow { struct
351 initInput(struct inputWindow * const inputWindowP, in initInput() argument
374 termInputWindow(struct inputWindow * const inputWindowP) { in termInputWindow()
387 getInputRow(struct inputWindow * const inputWindowP, in getInputRow()
462 struct inputWindow inputWindow; in main() local
483 initInput(&inputWindow, &inpam, in main()
503 getInputRow(&inputWindow, thisSliceFirstRow + row); in main()
510 termInputWindow(&inputWindow); in main()
/dports/chinese/gcin-qt5/gcin-2.9.0/qt5-im/
H A Dgcin-imcontext-qt5.cpp198 QWindow *inputWindow = qApp->focusWindow(); in cursorMoved() local
199 if (!inputWindow) in cursorMoved()
206 r.moveTopLeft(inputWindow->mapToGlobal(r.topLeft())); in cursorMoved()
211 if (x > inputWindow->width() || y > inputWindow->height() || x < 0 || y < 0) in cursorMoved()
/dports/chinese/gcin/gcin-2.9.0/qt5-im/
H A Dgcin-imcontext-qt5.cpp198 QWindow *inputWindow = qApp->focusWindow(); in cursorMoved() local
199 if (!inputWindow) in cursorMoved()
206 r.moveTopLeft(inputWindow->mapToGlobal(r.topLeft())); in cursorMoved()
211 if (x > inputWindow->width() || y > inputWindow->height() || x < 0 || y < 0) in cursorMoved()
/dports/chinese/gcin-gtk3/gcin-2.9.0/qt5-im/
H A Dgcin-imcontext-qt5.cpp198 QWindow *inputWindow = qApp->focusWindow(); in cursorMoved() local
199 if (!inputWindow) in cursorMoved()
206 r.moveTopLeft(inputWindow->mapToGlobal(r.topLeft())); in cursorMoved()
211 if (x > inputWindow->width() || y > inputWindow->height() || x < 0 || y < 0) in cursorMoved()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/hime/src/qt5-im/
H A Dhime-imcontext-qt.cpp171 QWindow *inputWindow = qApp->focusWindow (); in cursorMoved() local
172 if (!inputWindow) in cursorMoved()
181 if (x > inputWindow->width () || y > inputWindow->height () || x < 0 || y < 0) in cursorMoved()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/fcitx-qt5/qt5/platforminputcontext/
H A Dqfcitxplatforminputcontext.cpp315 QWindow *inputWindow = qApp->focusWindow(); in cursorRectChanged() local
316 if (!inputWindow) in cursorRectChanged()
318 FcitxInputContextProxy *proxy = validICByWindow(inputWindow); in cursorRectChanged()
330 if (!inputWindow->screen()) { in cursorRectChanged()
335 auto margins = inputWindow->frameMargins(); in cursorRectChanged()
343 qreal scale = inputWindow->devicePixelRatio(); in cursorRectChanged()
344 auto screenGeometry = inputWindow->screen()->geometry(); in cursorRectChanged()
345 auto point = inputWindow->mapToGlobal(r.topLeft()); in cursorRectChanged()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/fcitx-qt5/qt6/platforminputcontext/
H A Dqfcitxplatforminputcontext.cpp315 QWindow *inputWindow = qApp->focusWindow(); in cursorRectChanged() local
316 if (!inputWindow) in cursorRectChanged()
318 FcitxInputContextProxy *proxy = validICByWindow(inputWindow); in cursorRectChanged()
330 if (!inputWindow->screen()) { in cursorRectChanged()
335 auto margins = inputWindow->frameMargins(); in cursorRectChanged()
343 qreal scale = inputWindow->devicePixelRatio(); in cursorRectChanged()
344 auto screenGeometry = inputWindow->screen()->geometry(); in cursorRectChanged()
345 auto point = inputWindow->mapToGlobal(r.topLeft()); in cursorRectChanged()
/dports/textproc/fcitx-qt5/fcitx-qt5-1.2.6/platforminputcontext/
H A Dqfcitxplatforminputcontext.cpp319 QWindow *inputWindow = qApp->focusWindow(); in cursorRectChanged() local
320 if (!inputWindow) in cursorRectChanged()
322 FcitxInputContextProxy *proxy = validICByWindow(inputWindow); in cursorRectChanged()
334 if (!inputWindow->screen()) { in cursorRectChanged()
339 auto margins = inputWindow->frameMargins(); in cursorRectChanged()
347 qreal scale = inputWindow->devicePixelRatio(); in cursorRectChanged()
348 auto screenGeometry = inputWindow->screen()->geometry(); in cursorRectChanged()
349 auto point = inputWindow->mapToGlobal(r.topLeft()); in cursorRectChanged()
/dports/editors/textadept/cdk-5.0-20200923/
H A Dmenu.c120 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in newCDKMenu()
150 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in activateCDKMenu()
255 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in withinSubmenu()
275 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in acrossSubmenus()
658 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in _focusCDKMenu()
/dports/editors/textadept/textadept-textadept_11.1/src/cdk/
H A Dmenu.c120 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in newCDKMenu()
150 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in activateCDKMenu()
255 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in withinSubmenu()
275 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in acrossSubmenus()
658 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in _focusCDKMenu()
/dports/devel/cdk/cdk-5.0-20161210/
H A Dmenu.c120 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in newCDKMenu()
150 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in activateCDKMenu()
255 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in withinSubmenu()
275 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in acrossSubmenus()
658 ObjOf (menu)->inputWindow = menu->titleWin[menu->currentTitle]; in _focusCDKMenu()
/dports/audio/vimpc/vimpc-0.09.2/src/
H A Dscreen.cpp87 void QueueInput(WINDOW * inputWindow);
116 void QueueInput(WINDOW * inputWindow)
119 keypad(inputWindow, true);
120 wtimeout(inputWindow, -1);
142 keypad(inputWindow, true);
143 wtimeout(inputWindow, -1);
160 int32_t input = wgetch(inputWindow);
181 wtimeout(inputWindow, 0);
183 int escapeChar = wgetch(inputWindow);
190 wtimeout(inputWindow, -1);
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/fcitx5-qt/qt5/platforminputcontext/
H A Dqfcitxplatforminputcontext.cpp386 QWindow *inputWindow = qApp->focusWindow(); in cursorRectChanged() local
387 if (!inputWindow) in cursorRectChanged()
389 FcitxQtInputContextProxy *proxy = validICByWindow(inputWindow); in cursorRectChanged()
401 if (!inputWindow->screen()) { in cursorRectChanged()
405 qreal scale = inputWindow->devicePixelRatio(); in cursorRectChanged()
407 auto margins = inputWindow->frameMargins(); in cursorRectChanged()
416 auto screenGeometry = inputWindow->screen()->geometry(); in cursorRectChanged()
417 auto point = inputWindow->mapToGlobal(r.topLeft()); in cursorRectChanged()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/fcitx5-qt/qt6/platforminputcontext/
H A Dqfcitxplatforminputcontext.cpp386 QWindow *inputWindow = qApp->focusWindow(); in cursorRectChanged() local
387 if (!inputWindow) in cursorRectChanged()
389 FcitxQtInputContextProxy *proxy = validICByWindow(inputWindow); in cursorRectChanged()
401 if (!inputWindow->screen()) { in cursorRectChanged()
405 qreal scale = inputWindow->devicePixelRatio(); in cursorRectChanged()
407 auto margins = inputWindow->frameMargins(); in cursorRectChanged()
416 auto screenGeometry = inputWindow->screen()->geometry(); in cursorRectChanged()
417 auto point = inputWindow->mapToGlobal(r.topLeft()); in cursorRectChanged()

12345