Home
last modified time | relevance | path

Searched refs:winwidth (Results 1 – 25 of 246) sorted by relevance

12345678910

/dports/games/xconq/xconq-7.5.0-0pre.0.20050612/test/
H A Dtimeline.tcl10 set winwidth 800
12 canvas .canvas -width $winwidth -height 100 -bg white
40 global offset scale winwidth
42 set offset [ expr $offset - (($winwidth / 2) * $scale) ]
47 global offset scale winwidth
49 set offset [ expr $offset + (($winwidth / 2) * $scale) ]
108 set scale [ expr ($astart($last) + $alen($last) - $astart(0)) / $winwidth ]
/dports/editors/neovim/neovim-0.6.1/src/nvim/testdir/
H A Dtest_listlbr.vim33 let lines = s:screen_lines([1, 4], winwidth(0))
49 let lines = s:screen_lines([1, 4], winwidth(0))
64 let lines = s:screen_lines([1, 4], winwidth(0))
78 let lines = s:screen_lines([1, 4], winwidth(0))
94 let lines = s:screen_lines([1, 4], winwidth(0))
145 let lines = s:screen_lines([1, 4], winwidth(0))
160 let lines = s:screen_lines([1, 10], winwidth(0))
181 let lines = s:screen_lines([1, 2], winwidth(0))
194 let lines = s:screen_lines([1, 3], winwidth(0))
208 let lines = s:screen_lines([1, 3], winwidth(0))
[all …]
H A Dtest_window_cmd.vim91 call assert_equal(winwidth(1), winwidth(2))
101 call assert_equal(3, winwidth(0))
312 let [ww1, ww2] = [winwidth(1), winwidth(2)]
326 call assert_equal(2, winwidth(1))
336 let [ww1, ww2, ww3] = [winwidth(1), winwidth(2), winwidth(3)]
337 call assert_equal(2, winwidth(2))
352 let [ww1, ww2, ww3] = [winwidth(1), winwidth(2), winwidth(3)]
555 call assert_equal(3, winwidth(0))
561 call assert_equal(3, winwidth(0))
877 call assert_equal(8, winwidth(0))
[all …]
H A Dtest_listlbr_utf8.vim46 let lines = s:screen_lines([1, 4], winwidth(0))
61 let lines = s:screen_lines([1, 4], winwidth(0))
76 let lines = s:screen_lines([1, 4], winwidth(0))
102 let lines = s:screen_lines([1, 7], winwidth(0))
130 let lines = s:screen_lines([1, 1], winwidth(0))
157 let lines = s:screen_lines([1, 10], winwidth(0))
187 let lines = s:screen_lines([1, 3], winwidth(0))
217 let lines = s:screen_lines([1, 2], winwidth(0))
230 let lines = s:screen_lines([1, 2], winwidth(0))
268 let lines = s:screen_lines([1, 10], winwidth(0))
H A Dtest_display.vim18 call assert_equal(25, winwidth(winnr()))
30 let lines = ScreenLines([1,2], winwidth(0))
33 let lines = ScreenLines([1,2], winwidth(0))
52 let lines=ScreenLines([1,3], winwidth(0)+1)
61 let lines=ScreenLines([1,3], winwidth(0)+1)
122 let lines=ScreenLines([1,4], winwidth(0)+1)
134 let lines = ScreenLines([1,4], winwidth(0)+1)
147 let lines = ScreenLines([1,10], winwidth(0)+1)
271 call setline(1, repeat('x', winwidth(0) - 2) .. ')abc')
H A Dtest_vartabs.vim266 if winwidth(0) < 40
278 let lines = ScreenLines([1, 3], winwidth(0))
284 let lines = ScreenLines([1, 3], winwidth(0))
292 let lines = ScreenLines([1, 5], winwidth(0))
303 if winwidth(0) < 40
315 let lines = ScreenLines(1, winwidth(0))
323 let lines = ScreenLines(1, winwidth(0))
330 let lines = ScreenLines([1, 2], winwidth(0))
336 let lines = ScreenLines([1, 3], winwidth(0))
342 let lines = ScreenLines([1, 3], winwidth(0))
[all …]
/dports/editors/vim/vim-8.2.3745/src/testdir/
H A Dtest_listlbr.vim34 let lines = s:screen_lines([1, 4], winwidth(0))
49 let lines = s:screen_lines([1, 4], winwidth(0))
64 let lines = s:screen_lines([1, 4], winwidth(0))
78 let lines = s:screen_lines([1, 4], winwidth(0))
94 let lines = s:screen_lines([1, 4], winwidth(0))
145 let lines = s:screen_lines([1, 4], winwidth(0))
160 let lines = s:screen_lines([1, 10], winwidth(0))
181 let lines = s:screen_lines([1, 2], winwidth(0))
194 let lines = s:screen_lines([1, 3], winwidth(0))
208 let lines = s:screen_lines([1, 3], winwidth(0))
[all …]
H A Dtest_window_cmd.vim104 call assert_equal(winwidth(1), 2->winwidth())
114 call assert_equal(3, winwidth(0))
354 let [ww1, ww2] = [winwidth(1), winwidth(2)]
368 call assert_equal(2, winwidth(1))
378 let [ww1, ww2, ww3] = [winwidth(1), winwidth(2), winwidth(3)]
379 call assert_equal(2, winwidth(2))
394 let [ww1, ww2, ww3] = [winwidth(1), winwidth(2), winwidth(3)]
405 set winwidth=15
406 call assert_equal(15, winwidth(0))
644 call assert_equal(3, winwidth(0))
[all …]
H A Dtest_listlbr_utf8.vim47 let lines = s:screen_lines([1, 4], winwidth(0))
62 let lines = s:screen_lines([1, 4], winwidth(0))
87 let lines = s:screen_lines([1, 4], winwidth(0))
113 let lines = s:screen_lines([1, 7], winwidth(0))
141 let lines = s:screen_lines([1, 1], winwidth(0))
168 let lines = s:screen_lines([1, 10], winwidth(0))
198 let lines = s:screen_lines([1, 3], winwidth(0))
228 let lines = s:screen_lines([1, 2], winwidth(0))
241 let lines = s:screen_lines([1, 2], winwidth(0))
279 let lines = s:screen_lines([1, 10], winwidth(0))
H A Dtest_man.vim9 let l:w = winwidth(1)
19 call assert_inrange(l:w - 2, l:w + 2, winwidth(1))
28 call assert_inrange(l:w - 2, l:w + 2, winwidth(1))
37 call assert_true(l:w > winwidth(1))
46 call assert_inrange(l:w - 2, l:w + 2, winwidth(1))
H A Dtest_vartabs.vim275 if winwidth(0) < 40
287 let lines = ScreenLines([1, 3], winwidth(0))
293 let lines = ScreenLines([1, 3], winwidth(0))
301 let lines = ScreenLines([1, 5], winwidth(0))
312 if winwidth(0) < 40
324 let lines = ScreenLines(1, winwidth(0))
332 let lines = ScreenLines(1, winwidth(0))
339 let lines = ScreenLines([1, 2], winwidth(0))
345 let lines = ScreenLines([1, 3], winwidth(0))
351 let lines = ScreenLines([1, 3], winwidth(0))
[all …]
H A Dtest_display.vim17 call assert_equal(25, winwidth(winnr()))
29 let lines = ScreenLines([1,2], winwidth(0))
32 let lines = ScreenLines([1,2], winwidth(0))
51 let lines=ScreenLines([1,3], winwidth(0)+1)
60 let lines=ScreenLines([1,3], winwidth(0)+1)
120 let lines=ScreenLines([1,4], winwidth(0)+1)
132 let lines = ScreenLines([1,4], winwidth(0)+1)
145 let lines = ScreenLines([1,10], winwidth(0)+1)
342 call setline(1, repeat('x', winwidth(0) - 2) .. ')abc')
/dports/graphics/xli/xli-2006-11-10/
H A Dwindow.c129 pixx = (winwidth - width) / 2; /* center it */
476 int winx, winy, winwidth, winheight; local
488 winx = winy = winwidth = winheight = 0;
493 &winwidth, &winheight);
497 winwidth = DisplayWidth(disp, scrn);
501 if (!winwidth) {
502 winwidth = image->width;
580 winx, winy, winwidth, winheight, 0,
685 sh.width = winwidth;
688 sh.min_width = sh.max_width = winwidth;
[all …]
H A Dxli.c78 unsigned int winwidth, winheight; in main() local
168 winwidth = winheight = 0; in main()
374 if (first && globals.onroot && (winwidth || winheight || in main()
379 if (!winwidth) in main()
380 winwidth = globals.dinfo.width; in main()
385 atx = scentre(winwidth, inew->width); in main()
389 itmp = clip(inew, -atx, -aty, winwidth, winheight, io); in main()
/dports/misc/magicpoint/magicpoint-1.13a/image/
H A Dwindow.c123 int width, height, winwidth, winheight;
130 if (winwidth > width)
131 pixx= (winwidth - width) / 2;
134 pixx= winwidth - width;
580 winx= winy= winwidth= winheight= 0;
591 winwidth= DisplayWidth(disp, scrn);
596 if (!winwidth) {
597 winwidth= image->width;
680 winwidth, winheight, 0,
777 sh.width= winwidth;
[all …]
/dports/x11/xloadimage/xloadimage.4.1/
H A Dwindow.c124 int width, height, winwidth, winheight;
131 if (winwidth > width)
132 pixx= (winwidth - width) / 2;
135 pixx= winwidth - width;
601 winx= winy= winwidth= winheight= 0;
611 winwidth= DisplayWidth(disp, scrn);
616 if (!winwidth) {
617 winwidth= image->width;
700 winwidth, winheight, 0,
797 sh.width= winwidth;
[all …]
H A Dxloadimage.c282 winwidth= opt->info.geometry.w;
286 winwidth= 0;
295 (dump || onroot) && (winwidth || winheight ||
299 if (!winwidth)
300 winwidth= DisplayWidth(disp, scrn);
310 dispimage= newBitImage(winwidth, winheight);
324 fill(dispimage, 0, 0, winwidth, winheight, 0);
327 dispimage= newTrueImage(winwidth, winheight);
329 fill(dispimage, 0, 0, winwidth, winheight,
457 if (!winwidth)
[all …]
/dports/graphics/opencv/opencv-4.5.3/apps/createsamples/
H A Dutility.hpp81 int winwidth = 24, int winheight = 24 );
89 int winwidth, int winheight, double maxscale );
106 int winwidth, int winheight );
122 void cvShowVecSamples( const char* filename, int winwidth, int winheight, double scale );
H A Dutility.cpp1028 int winwidth, int winheight ) in cvCreateTrainingSamples() argument
1051 Size( winwidth,winheight ) ) ); in cvCreateTrainingSamples()
1053 Mat sample( winheight, winwidth, CV_8UC1 ); in cvCreateTrainingSamples()
1188 width = (int) (scale * winwidth); in cvCreateTestSamples()
1231 int winwidth, int winheight ) in cvCreateTrainingSamplesFromInfo() argument
1282 icvWriteVecHeader( vec, num, winwidth, winheight ); in cvCreateTrainingSamplesFromInfo()
1413 if( file.vecsize != winwidth * winheight ) in cvShowVecSamples()
1420 winwidth, winheight, file.vecsize ); in cvShowVecSamples()
1439 winwidth = guessed_w; in cvShowVecSamples()
1442 winwidth, winheight ); in cvShowVecSamples()
[all …]
/dports/games/xgalaga-sdl/xgalaga-sdl-2.1.1.0-sdl/src/
H A Dmain.c131 stars[i].x = random()%winwidth; in init_stars()
151 stars[i].x = random() % winwidth; in do_stars()
425 } else if(convoyx >= (winwidth-180)) { in do_aliens()
426 convoyx = winwidth - 180; in do_aliens()
744 plx = winwidth/2; in start_game()
1032 mx = winwidth; in do_player()
1104 plx = winwidth/2; in do_player()
1196 plx=winwidth - 10; in do_player()
1197 if(plx > winwidth - 10) in do_player()
1268 winwidth = w; in main()
[all …]
H A Dtitle.c68 S_DrawImage(winwidth/2 - 30, 220+i*21,
74 W_MaskText(screen, winwidth/2, 225+i*21,
226 S_DrawImage(winwidth/2 - titleImage->width/2, top, 0, titleImage); in do_title()
271 pausex = winwidth/2; in init_titles()
/dports/x11-wm/herbstluftwm/herbstluftwm-0.9.2/tests/
H A Dtest_floating.py65 winwidth = int(width / 5)
67 handle, winid = x11.create_client(geometry=(0, start_y, winwidth, winheight))
78 assert x + winwidth + snap_gap == obs_x
84 assert x + winwidth + snap_gap == width
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Dlangselwin.c385 static int winwidth = 0; in display_langsel_handler() local
437 winwidth = max_str_width + 2 * winsep; in display_langsel_handler()
454 winwidth += scroll_width; in display_langsel_handler()
458 …move_window(langsel_win, langsel_rootwin, 0, (window_width-winwidth)/2, (window_height-winheight)/… in display_langsel_handler()
459 resize_window(langsel_win, winwidth, winheight); in display_langsel_handler()
488 …widget_move(langsel_win, save_button, winwidth - (winsep + save_widget->len_x), winheight - winsep… in display_langsel_handler()
505 strlen(langwin_save_note), winwidth - (2 * winsep + save_widget->len_x), in display_langsel_handler()
511 …langsel_scroll_id = vscrollbar_add_extended(langsel_win, 102, NULL, winwidth - scroll_width, wins… in display_langsel_handler()
/dports/japanese/skkserv/skk-9.6/contrib/skkinput-0.99/
H A DSkkInput.c357 unsigned int winwidth, winheight, pr ; in Realize() local
364 winwidth = 80 ; in Realize()
368 &xpos, &ypos, &winwidth, &winheight ) ; in Realize()
381 cols = ( ( WidthValue & pr ) && winwidth > 0 )? winwidth : 80 ; in Realize()
395 sizehints.width = winwidth ; in Realize()
403 winwidth = w->core.border_width * 2 + cols * w->skkinput.roman_width ; in Realize()
418 sizehints.x = xpos - winwidth ; in Realize()
428 sizehints.x = xpos - winwidth ; in Realize()
437 (Dimension)winwidth, (Dimension)winheight, in Realize()
/dports/cad/graywolf/graywolf-0.1.6-4-gf47937b/src/Ylib/
H A Dmenus.c238 winwidthS = infoS->winwidth ; in TWinforMenus()
279 if( wattr.width != infoS->winwidth || in TWrestoreState()
1467 INT winwidth, winheight ; /* size of window */ in TWcheckReconfig() local
1479 winwidth = event.xconfigure.width ; in TWcheckReconfig()
1481 winwidth == infoS->winwidth ){ in TWcheckReconfig()
1490 resize_windows( winwidth, winheight ) ; in TWcheckReconfig()
1520 0, MENUHEIGHT, winwidth, winheight ) ; in resize_windows()
1527 (unsigned)winwidth, (unsigned)winheight, in resize_windows()
1532 winwidth, MENUHEIGHT ) ; in resize_windows()
1538 winwidth, MENUHEIGHT ) ; in resize_windows()
[all …]

12345678910