Home
last modified time | relevance | path

Searched refs:buttonw (Results 1 – 17 of 17) sorted by relevance

/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/source/Irrlicht/
H A DCGUIWindow.cpp34 s32 buttonw = 15; in CGUIWindow() local
37 buttonw = skin->getSize(EGDS_WINDOW_BUTTON_WIDTH); in CGUIWindow()
39 s32 posx = RelativeRect.getWidth() - buttonw - 4; in CGUIWindow()
41 …CloseButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), this, … in CGUIWindow()
46 posx -= buttonw + 2; in CGUIWindow()
48 …RestoreButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), this… in CGUIWindow()
54 posx -= buttonw + 2; in CGUIWindow()
56 MinButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), this, -1, in CGUIWindow()
H A DCGUIFileOpenDialog.cpp72 const s32 buttonw = skin->getSize(EGDS_WINDOW_BUTTON_WIDTH); in CGUIFileOpenDialog() local
73 const s32 posx = RelativeRect.getWidth() - buttonw - 4; in CGUIFileOpenDialog()
75 …CloseButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), this, … in CGUIFileOpenDialog()
H A DCGUIColorSelectDialog.cpp70 const s32 buttonw = environment->getSkin()->getSize(EGDS_WINDOW_BUTTON_WIDTH); in CGUIColorSelectDialog() local
71 const s32 posx = RelativeRect.getWidth() - buttonw - 4; in CGUIColorSelectDialog()
73 CloseButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), in CGUIColorSelectDialog()
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/source/Irrlicht/
H A DCGUIWindow.cpp34 s32 buttonw = 15; in CGUIWindow() local
37 buttonw = skin->getSize(EGDS_WINDOW_BUTTON_WIDTH); in CGUIWindow()
39 s32 posx = RelativeRect.getWidth() - buttonw - 4; in CGUIWindow()
41 …CloseButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), this, … in CGUIWindow()
46 posx -= buttonw + 2; in CGUIWindow()
48 …RestoreButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), this… in CGUIWindow()
54 posx -= buttonw + 2; in CGUIWindow()
56 MinButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), this, -1, in CGUIWindow()
H A DCGUIFileOpenDialog.cpp72 const s32 buttonw = skin->getSize(EGDS_WINDOW_BUTTON_WIDTH); in CGUIFileOpenDialog() local
73 const s32 posx = RelativeRect.getWidth() - buttonw - 4; in CGUIFileOpenDialog()
75 …CloseButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), this, … in CGUIFileOpenDialog()
H A DCGUIColorSelectDialog.cpp70 const s32 buttonw = environment->getSkin()->getSize(EGDS_WINDOW_BUTTON_WIDTH); in CGUIColorSelectDialog() local
71 const s32 posx = RelativeRect.getWidth() - buttonw - 4; in CGUIColorSelectDialog()
73 CloseButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), in CGUIColorSelectDialog()
/dports/games/xye/xye-0.12.2/src/
H A Ddialogs.cpp210 int buttonw = FontResource->TextWidth(nocaption)+button::Size; in makeButtonDialog() local
211 if (buttonw<ybuttonw) buttonw=ybuttonw; in makeButtonDialog()
214 if(showno) buttonx=px+pw/2-buttonw-button::Size/2; in makeButtonDialog()
215 else buttonx=px+(pw-buttonw)/2; in makeButtonDialog()
219 button* tmbut= new button(buttonx,buttony,buttonw,button::Size); in makeButtonDialog()
232 tmbut= new button(buttonx,buttony,buttonw,button::Size); in makeButtonDialog()
369 if (buttonw<ybuttonw) buttonw=ybuttonw; in makeTextInputDialog()
375 button* tmbut= new button(buttonx,buttony,buttonw,button::Size); in makeTextInputDialog()
382 buttonx=/*px+pw/2+button::Size/2*/ px + pw/2 - buttonw/2; in makeTextInputDialog()
383 tmbut= new button(buttonx,buttony,buttonw,button::Size); in makeTextInputDialog()
[all …]
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/tools/GUIEditor/
H A DCGUITextureCacheBrowser.cpp32 s32 buttonw = 15; in CGUITextureCacheBrowser() local
35 buttonw = skin->getSize(EGDS_WINDOW_BUTTON_WIDTH); in CGUITextureCacheBrowser()
39 s32 posx = RelativeRect.getWidth() - buttonw - 4; in CGUITextureCacheBrowser()
41 …CloseButton = Environment->addButton(core::rect<s32>(posx, 3, posx + buttonw, 3 + buttonw), this, … in CGUITextureCacheBrowser()
59 Panel->setRelativePosition( core::rect<s32>(1, buttonw + 5, 151, RelativeRect.getHeight() - 1)); in CGUITextureCacheBrowser()
/dports/cad/xcircuit/xcircuit-3.10.30/
H A Dxtgui.c492 WidgetList buttonw, mgr_shell, menu_mgr; in createmenus() local
510 XtnSetArg(XtNxRefWidget, buttonw[i - 1]); in createmenus()
517 netbutton = buttonw[i]; in createmenus()
518 XtManageChild(buttonw[i]); in createmenus()
521 XtManageChild(buttonw[i]); in createmenus()
524 XtAddCallback(buttonw[i], XtNselect, in createmenus()
528 buttonw[i], NULL, 0); in createmenus()
536 *firstbutton = buttonw[0]; in createmenus()
537 *lastbutton = buttonw[i - 1]; in createmenus()
1162 okstruct[i].buttonw = okays[i]; in outputpopup()
[all …]
H A Dxcwin32.c3090 okstruct[i].buttonw = create_widget(GetDlgItem(hwnd, ID[i].apply), "Apply"); in OutputDlgProc()
3095 WinAddCallback(okstruct[i].buttonw, XtNselect, getproptext, &okstruct[i]); in OutputDlgProc()
3098 WinAddCallback(okstruct[i].buttonw, XtNselect, update[i], entertext); in OutputDlgProc()
3135 fpokstruct.buttonw = create_widget(GetDlgItem(hwnd, IDC_APPLY6), "fpokay"); in OutputDlgProc()
3138 WinAddCallback(fpokstruct.buttonw, XtNselect, getproptext, &fpokstruct); in OutputDlgProc()
3139 WinAddCallback(fpokstruct.buttonw, XtNselect, updatetext, entertext); in OutputDlgProc()
3148 XtManageChild(fpokstruct.buttonw); in OutputDlgProc()
H A Dxcircuit.h1186 xcWidget buttonw; member
/dports/net/tn5250/tn5250-0.17.4/win32/
H A Dlp5250d-win.c1192 static int buttonw, buttonh; in tn5250_windows_printer_wndproc() local
1205 buttonw = tm.tmAveCharWidth * 30; in tn5250_windows_printer_wndproc()
1211 rc.left = ((rc.right - rc.left) - buttonw) / 2; in tn5250_windows_printer_wndproc()
1217 rc.top, rc.left, buttonw, buttonh, in tn5250_windows_printer_wndproc()
1243 rc.left = ((rc.right - rc.left) - buttonw) / 2; in tn5250_windows_printer_wndproc()
1244 MoveWindow(hwndStopButton, rc.left, rc.top, buttonw, buttonh, TRUE); in tn5250_windows_printer_wndproc()
/dports/x11-wm/ctwm/ctwm-4.0.3/
H A Dworkspace_manager.c536 Window buttonw = vs->wsw->bswl[ws->number]->w; in CreateWorkSpaceManagerWindow() local
539 XSelectInput(dpy, buttonw, ButtonPressMask | ButtonReleaseMask in CreateWorkSpaceManagerWindow()
541 XSaveContext(dpy, buttonw, TwmContext, (XPointer) tmp_win); in CreateWorkSpaceManagerWindow()
542 XSaveContext(dpy, buttonw, ScreenContext, (XPointer) Scr); in CreateWorkSpaceManagerWindow()
679 Window buttonw = vs->wsw->bswl[ws->number]->w; in PaintWorkSpaceManager() local
682 PaintWsButton(WSPCWINDOW, vs, buttonw, ws->label, ws->cp, bs); in PaintWorkSpaceManager()
710 Window buttonw; in WMgrHandleExposeEvent() local
715 buttonw = vs->wsw->bswl[ws->number]->w; in WMgrHandleExposeEvent()
716 if(event->xexpose.window == buttonw) { in WMgrHandleExposeEvent()
727 PaintWsButton(WSPCWINDOW, vs, buttonw, ws->label, ws->cp, bs); in WMgrHandleExposeEvent()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/history/
H A Dhistory_item_components.cpp580 int buttonw = qMax(button.text.maxWidth(), 1); in resize() local
581 float64 textw = buttonw, minw = _st->minButtonWidth(button.type); in resize()
600 button.link->setFullDisplayed(textw >= buttonw); in resize()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/boxes/
H A Dstickers_box.cpp1208 auto buttonw = st::stickersRemove.width; in relativeButtonRect() local
1216 buttonw = textWidth - st.width; in relativeButtonRect()
1220 …auto buttonx = width() - st::contactsPadding.right() - st::contactsCheckPosition.x() - buttonw + b… in relativeButtonRect()
1222 return QRect(buttonx, buttony, buttonw, buttonh); in relativeButtonRect()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/styles/
H A Dqmacstyle_mac.mm1296 const int buttonw = qRound(outerBounds.size.width);
1310 …p->drawPixmap(QRect(QRect(0, -skipTopBorder, buttonw - framew , frameh_n)), buffer, QRect(framew, …
1311 …p->drawPixmap(QRect(0, buttonh - frameh_s, buttonw - framew, frameh_s), buffer, QRect(framew, buff…
1313 …p->drawPixmap(QRect(0, frameh_n - skipTopBorder, buttonw - framew, center - frameh_n + skipTopBord…
1314 …p->drawPixmap(QRect(0, center, buttonw - framew, buttonh - center - frameh_s), buffer, QRect(frame…
1316 …p->drawPixmap(QRect(buttonw - framew, frameh_n - skipTopBorder, framew, center - frameh_n), buffer…
1317 …p->drawPixmap(QRect(buttonw - framew, center, framew, buttonh - center - 1), buffer, QRect(buffer.…
1319 …p->drawPixmap(QRect(buttonw - framew, -skipTopBorder, framew, frameh_n), buffer, QRect(buffer.widt…
1320 …p->drawPixmap(QRect(buttonw - framew, buttonh - frameh_s, framew, frameh_s), buffer, QRect(buffer.…
1322 …p->drawPixmap(QRect(0, center - qRound(transh / 2.0f), buttonw - framew, buffer.height() - frameh_…
[all …]
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/chat_helpers/
H A Dstickers_list_widget.cpp2045 auto buttonw = st::stickerPanRemoveSet.width; in removeButtonRect() local
2047 auto buttonx = stickersRight() - buttonw; in removeButtonRect()
2049 return QRect(buttonx, buttony, buttonw, buttonh); in removeButtonRect()