Home
last modified time | relevance | path

Searched refs:title_w (Results 1 – 25 of 124) sorted by relevance

12345

/dports/games/battletanks/btanks-0.9.8083/engine/menu/
H A Djoin_team.cpp21 int title_w, title_h; in JoinTeamControl() local
22 _title->get_size(title_w, title_h); in JoinTeamControl()
24 …int w = math::max(SQUARE_SPACING + (SQUARE_SIZE + SQUARE_SPACING) * teams, title_w + 2 * SQUARE_S… in JoinTeamControl()
33 add((w - title_w) / 2, my, _title); in JoinTeamControl()
69 int title_w, title_h; in render() local
70 _title->get_size(title_w, title_h); in render()
/dports/graphics/guilib/GUIlib-1.2.1/
H A DGUI_output.cpp249 int title_w, title_h; in GUI_MessageBox() local
254 title_w = w; in GUI_MessageBox()
260 widget = new GUI_Area(title_x, title_y, title_w, title_h, in GUI_MessageBox()
266 title_h -= 1; title_w -= 2; in GUI_MessageBox()
267 widget = new GUI_Area(title_x, title_y, title_w, title_h, in GUI_MessageBox()
273 title_h -= 2; title_w -= 2; in GUI_MessageBox()
274 textout = new GUI_TermWin(title_x, title_y, title_w, title_h, in GUI_MessageBox()
276 for ( i=0; i<((title_w/(font->w/16))-strlen(title))/2; ++i ) { in GUI_MessageBox()
/dports/net/cjdns/cjdns-cjdns-v21.1/node_build/dependencies/libuv/src/win/
H A Dutil.c352 WCHAR* title_w = NULL; in uv_set_process_title() local
364 title_w = (WCHAR*)malloc(sizeof(WCHAR) * length); in uv_set_process_title()
365 if (!title_w) { in uv_set_process_title()
369 length = uv_utf8_to_utf16(title, title_w, length); in uv_set_process_title()
377 title_w[MAX_TITLE_LENGTH - 1] = L'\0'; in uv_set_process_title()
380 if (!SetConsoleTitleW(title_w)) { in uv_set_process_title()
393 free(title_w); in uv_set_process_title()
399 WCHAR title_w[MAX_TITLE_LENGTH]; in uv__get_process_title() local
402 if (!GetConsoleTitleW(title_w, sizeof(title_w) / sizeof(WCHAR))) { in uv__get_process_title()
407 length = uv_utf16_to_utf8(title_w, -1, NULL, 0); in uv__get_process_title()
[all …]
/dports/graphics/vkd3d/vkd3d-1.2/demos/
H A Ddemo_win32.h56 WCHAR *title_w; in demo_window_create() local
63 if (!(title_w = calloc(title_size, sizeof(*title_w)))) in demo_window_create()
68 MultiByteToWideChar(CP_UTF8, 0, title, -1, title_w, title_size); in demo_window_create()
77 …window->hwnd = CreateWindowExW(0, DEMO_WINDOW_CLASS_NAME, title_w, style, CW_USEDEFAULT, CW_USEDEF… in demo_window_create()
79 free(title_w); in demo_window_create()
/dports/x11-wm/afterstep/AfterStep-1.0/afterstep/
H A Dborders.c146 SetBackgroundTexture(t, t->title_w, type, state); in SetTitleBackground()
329 ChangeWindowColor(t->title_w); in SetBorder()
554 if(PressedW==t->title_w) in SetTitleBar()
561 flush_expose(t->title_w); in SetTitleBar()
595 XClearWindow(dpy,t->title_w); in SetTitleBar()
603 RelieveWindow(t,t->title_w,hor_off+w+2,0, in SetTitleBar()
606 XFillRectangle(dpy,t->title_w, in SetTitleBar()
607 (PressedW==t->title_w?ShadowGC:ReliefGC), in SetTitleBar()
613 XDrawString (dpy, t->title_w,Scr.FontGC,hor_off, in SetTitleBar()
636 XDrawString (dpy, t->title_w,Scr.FontGC,hor_off, in SetTitleBar()
[all …]
/dports/audio/ganv/ganv-1.8.0/src/
H A Dmodule.c170 double title_w = 0.0; in measure() local
172 title_size(module, &title_w, &title_h); in measure()
181 contents_width += title_w + (2.0 * PAD); in measure()
272 double title_w = 0.0; in place_title() local
274 title_size(module, &title_w, &title_h); in place_title()
299 double title_w = 0.0; in resize_right() local
301 title_size(module, &title_w, &title_h); in resize_right()
376 double title_w = 0.0; in resize_down() local
378 title_size(module, &title_w, &title_h); in resize_down()
828 double title_w = 0.0; in ganv_module_embed() local
[all …]
/dports/audio/lmms/lmms-1.2.2/src/gui/widgets/
H A DTextFloat.cpp184 int title_w = QFontMetrics( f ).boundingRect( m_title ).width(); in updateSize() local
185 if( title_w > textBound.width() ) in updateSize()
187 textBound.setWidth( title_w ); in updateSize()
/dports/x11-wm/ctwm/ctwm-4.0.3/
H A Dwin_decorations.c260 if(tmp_win->title_w) { in SetupFrame()
269 XConfigureWindow(dpy, tmp_win->title_w, xwcm, &xwc); in SetupFrame()
497 if(tmp->title_w) { in SetFrameShape()
517 if(tmp->title_w) { in SetFrameShape()
521 tmp->title_w, ShapeBounding, in SetFrameShape()
771 XMapSubwindows(dpy, tmp_win->title_w); in CreateWindowTitlebarButtons()
1000 pm = mk_blackgray_pixmap(which, tmp_win->title_w, in CreateHighlightWindows()
1035 #define MKWIN() XCreateWindow(dpy, tmp_win->title_w, 0, y, \ in CreateHighlightWindows()
1136 #define MKWIN() XCreateWindow(dpy, tmp_win->title_w, 0, y, \ in CreateLowlightWindows()
1199 Draw3DBorder(tmp_win->title_w, Scr->TBInfo.titlex, 0, wid, in PaintTitle()
[all …]
H A Dwin_ops.c46 if(tmp_win->title_w) { in SetFocusVisualAttributes()
47 XSetWindowBorder(dpy, tmp_win->title_w, tmp_win->borderC.back); in SetFocusVisualAttributes()
59 if(tmp_win->title_w) { in SetFocusVisualAttributes()
60 XSetWindowBorderPixmap(dpy, tmp_win->title_w, tmp_win->gray); in SetFocusVisualAttributes()
111 Draw3DBorder(tmp_win->title_w, Scr->TBInfo.titlex, 0, in SetFocusVisualAttributes()
H A Dadd_window.c1528 XStoreName(dpy, tmp_win->title_w, "CTWM titlebar"); in AddWindow()
1532 tmp_win->title_w = None; in AddWindow()
1576 if(tmp_win->title_w) { in AddWindow()
1579 XMoveWindow(dpy, tmp_win->title_w, in AddWindow()
1612 if(tmp_win->title_w) { in AddWindow()
1613 XMapWindow(dpy, tmp_win->title_w); in AddWindow()
1719 SETCTXS(tmp_win->title_w); in AddWindow()
1929 if(!tmp_win->title_w) { in GrabKeys()
1933 grabkey(tmp, 0, tmp_win->title_w); in GrabKeys()
1961 if(tmp_win->title_w) { in GrabKeys()
[all …]
/dports/x11-wm/twm/twm-1.0.11/src/
H A Dadd_window.c835 tmp_win->title_w = XCreateWindow(dpy, tmp_win->frame, in AddWindow()
846 tmp_win->title_w = 0; in AddWindow()
863 if (tmp_win->title_w) { in AddWindow()
867 XDefineCursor(dpy, tmp_win->title_w, Scr->TitleCursor); in AddWindow()
880 if (tmp_win->title_w) { in AddWindow()
881 XMapWindow(dpy, tmp_win->title_w); in AddWindow()
1060 if (tmp_win->title_w) in GrabKeys()
1071 if (tmp_win->title_w) in GrabKeys()
1124 pm = XCreatePixmap(dpy, tmp_win->title_w, in CreateHighlightWindow()
1154 w = XCreateWindow(dpy, tmp_win->title_w, 0, Scr->FramePadding, in CreateHighlightWindow()
[all …]
/dports/x11-wm/piewm/piewm-1.04/
H A Dadd_window.c508 tmp_win->title_w = XCreateWindow (dpy, tmp_win->frame, in AddWindow()
520 tmp_win->title_w = 0; in AddWindow()
537 if (tmp_win->title_w) { in AddWindow()
540 XMoveWindow (dpy, tmp_win->title_w, in AddWindow()
559 if (tmp_win->title_w) { in AddWindow()
560 XMapWindow (dpy, tmp_win->title_w); in AddWindow()
1027 if (tmp_win->title_w) in GrabKeys()
1038 if (tmp_win->title_w) in GrabKeys()
1095 pm = XCreatePixmap (dpy, tmp_win->title_w, in CreateHighlightWindow()
1114 pm = XCreatePixmap (dpy, tmp_win->title_w, in CreateHighlightWindow()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima8/gumps/
H A Dmessage_box_gump.cpp67 int title_w = width; in InitGump() local
81 …if (_dims.width() < MBG_PADDING + title_w + MBG_PADDING) _dims.setWidth(MBG_PADDING + title_w + MB… in InitGump()
/dports/x11-wm/tvtwm/tvtwm/
H A Dadd_window.c522 tmp_win->title_w = XCreateWindow (dpy, tmp_win->frame,
534 tmp_win->title_w = 0;
551 if (tmp_win->title_w) {
554 XMoveWindow (dpy, tmp_win->title_w,
556 XDefineCursor(dpy, tmp_win->title_w, Scr->TitleCursor);
572 if (tmp_win->title_w) {
573 XMapWindow (dpy, tmp_win->title_w);
1062 if (tmp_win->title_w)
1073 if (tmp_win->title_w)
1137 pm = XCreatePixmap(dpy, tmp_win->title_w, Scr->hilite.width,
[all …]
/dports/archivers/maxcso/maxcso-1.10.0/libuv/src/win/
H A Dutil.c378 WCHAR* title_w = NULL; in uv_set_process_title() local
390 title_w = (WCHAR*)uv__malloc(sizeof(WCHAR) * length); in uv_set_process_title()
391 if (!title_w) { in uv_set_process_title()
395 length = MultiByteToWideChar(CP_UTF8, 0, title, -1, title_w, length); in uv_set_process_title()
403 title_w[MAX_TITLE_LENGTH - 1] = L'\0'; in uv_set_process_title()
406 if (!SetConsoleTitleW(title_w)) { in uv_set_process_title()
419 uv__free(title_w); in uv_set_process_title()
425 WCHAR title_w[MAX_TITLE_LENGTH]; in uv__get_process_title() local
427 if (!GetConsoleTitleW(title_w, sizeof(title_w) / sizeof(WCHAR))) { in uv__get_process_title()
431 if (uv__convert_utf16_to_utf8(title_w, -1, &process_title) != 0) in uv__get_process_title()
/dports/databases/grass7/grass-7.8.6/display/d.legend.vect/
H A Ddraw.c34 double row_w, text_h, title_h, title_w; in draw() local
58 title_w = br - bl; in draw()
259 if (title_w > offs_x + maxlblw) in draw()
260 bg_w = title_w; in draw()
/dports/x11-wm/vtwm/vtwm-5.5.0/
H A Dadd_window.c746 tmp_win->title_w.xft = MyXftDrawCreate(tmp_win->title_w.win); in AddWindow()
751 tmp_win->title_w.win = 0; in AddWindow()
773 if (tmp_win->title_w.win) in AddWindow()
795 if (tmp_win->title_w.win) in AddWindow()
797 XMapWindow(dpy, tmp_win->title_w.win); in AddWindow()
900 XMapSubwindows(dpy, tmp_win->title_w.win); in AddPaintRealWindows()
1789 if (tmp_win->title_w.win) in GrabKeys()
1790 GrabModKeys(tmp_win->title_w.win, tmp); in GrabKeys()
1797 if (tmp_win->title_w.win) in GrabKeys()
1798 GrabModKeys(tmp_win->title_w.win, tmp); in GrabKeys()
[all …]
/dports/www/R-cran-httpuv/httpuv/src/libuv/src/win/
H A Dutil.c367 WCHAR* title_w = NULL; in uv_set_process_title() local
379 title_w = (WCHAR*)uv__malloc(sizeof(WCHAR) * length); in uv_set_process_title()
380 if (!title_w) { in uv_set_process_title()
384 length = MultiByteToWideChar(CP_UTF8, 0, title, -1, title_w, length); in uv_set_process_title()
392 title_w[MAX_TITLE_LENGTH - 1] = L'\0'; in uv_set_process_title()
395 if (!SetConsoleTitleW(title_w)) { in uv_set_process_title()
408 uv__free(title_w); in uv_set_process_title()
414 WCHAR title_w[MAX_TITLE_LENGTH]; in uv__get_process_title() local
416 if (!GetConsoleTitleW(title_w, sizeof(title_w) / sizeof(WCHAR))) { in uv__get_process_title()
420 if (uv__convert_utf16_to_utf8(title_w, -1, &process_title) != 0) in uv__get_process_title()
/dports/www/node10/node-v10.24.1/deps/uv/src/win/
H A Dutil.c364 WCHAR* title_w = NULL; in uv_set_process_title() local
376 title_w = (WCHAR*)uv__malloc(sizeof(WCHAR) * length); in uv_set_process_title()
377 if (!title_w) { in uv_set_process_title()
381 length = MultiByteToWideChar(CP_UTF8, 0, title, -1, title_w, length); in uv_set_process_title()
389 title_w[MAX_TITLE_LENGTH - 1] = L'\0'; in uv_set_process_title()
392 if (!SetConsoleTitleW(title_w)) { in uv_set_process_title()
405 uv__free(title_w); in uv_set_process_title()
411 WCHAR title_w[MAX_TITLE_LENGTH]; in uv__get_process_title() local
413 if (!GetConsoleTitleW(title_w, sizeof(title_w) / sizeof(WCHAR))) { in uv__get_process_title()
417 if (uv__convert_utf16_to_utf8(title_w, -1, &process_title) != 0) in uv__get_process_title()
/dports/net/wireshark/wireshark-3.6.1/ui/qt/
H A Dprogress_frame.cpp165 int title_w = fontMetrics().horizontalAdvance(title); in showProgress() local
167 int title_w = fontMetrics().width(title); in showProgress() local
169 if (title_w > max_w) { in showProgress()
/dports/net/wireshark-lite/wireshark-3.6.1/ui/qt/
H A Dprogress_frame.cpp165 int title_w = fontMetrics().horizontalAdvance(title); in showProgress() local
167 int title_w = fontMetrics().width(title); in showProgress() local
169 if (title_w > max_w) { in showProgress()
/dports/net/tshark-lite/wireshark-3.6.1/ui/qt/
H A Dprogress_frame.cpp165 int title_w = fontMetrics().horizontalAdvance(title); in showProgress() local
167 int title_w = fontMetrics().width(title); in showProgress() local
169 if (title_w > max_w) { in showProgress()
/dports/net/tshark/wireshark-3.6.1/ui/qt/
H A Dprogress_frame.cpp165 int title_w = fontMetrics().horizontalAdvance(title); in showProgress() local
167 int title_w = fontMetrics().width(title); in showProgress() local
169 if (title_w > max_w) { in showProgress()
/dports/sysutils/R-cran-fs/fs/src/libuv-1.38.1/src/win/
H A Dutil.c395 WCHAR* title_w = NULL; in uv_set_process_title() local
407 title_w = (WCHAR*)uv__malloc(sizeof(WCHAR) * length); in uv_set_process_title()
408 if (!title_w) { in uv_set_process_title()
412 length = MultiByteToWideChar(CP_UTF8, 0, title, -1, title_w, length); in uv_set_process_title()
420 title_w[MAX_TITLE_LENGTH - 1] = L'\0'; in uv_set_process_title()
423 if (!SetConsoleTitleW(title_w)) { in uv_set_process_title()
436 uv__free(title_w); in uv_set_process_title()
442 WCHAR title_w[MAX_TITLE_LENGTH]; in uv__get_process_title() local
444 if (!GetConsoleTitleW(title_w, sizeof(title_w) / sizeof(WCHAR))) { in uv__get_process_title()
448 if (uv__convert_utf16_to_utf8(title_w, -1, &process_title) != 0) in uv__get_process_title()
/dports/devel/cmake-doc/cmake-3.22.1/Utilities/cmlibuv/src/win/
H A Dutil.c397 WCHAR* title_w = NULL; in uv_set_process_title() local
409 title_w = (WCHAR*)uv__malloc(sizeof(WCHAR) * length); in uv_set_process_title()
410 if (!title_w) { in uv_set_process_title()
414 length = MultiByteToWideChar(CP_UTF8, 0, title, -1, title_w, length); in uv_set_process_title()
422 title_w[MAX_TITLE_LENGTH - 1] = L'\0'; in uv_set_process_title()
425 if (!SetConsoleTitleW(title_w)) { in uv_set_process_title()
438 uv__free(title_w); in uv_set_process_title()
444 WCHAR title_w[MAX_TITLE_LENGTH]; in uv__get_process_title() local
446 if (!GetConsoleTitleW(title_w, sizeof(title_w) / sizeof(WCHAR))) { in uv__get_process_title()
450 if (uv__convert_utf16_to_utf8(title_w, -1, &process_title) != 0) in uv__get_process_title()

12345