Home
last modified time | relevance | path

Searched refs:winheight (Results 1 – 25 of 259) sorted by relevance

1234567891011

/dports/editors/neovim/neovim-0.6.1/src/nvim/testdir/
H A Dtest_window_cmd.vim102 call assert_equal(winheight(1), winheight(2))
259 let [wh1, wh2] = [winheight(1), winheight(2)]
283 let [wh1, wh2, wh3] = [winheight(1), winheight(2), winheight(3)]
299 let [wh1, wh2, wh3] = [winheight(1), winheight(2), winheight(3)]
369 let height_1 = winheight(1)
370 let height_2 = winheight(2)
379 call assert_equal(winheight(1), winheight(3))
380 call assert_equal(winheight(2), winheight(4))
652 let height = winheight(0)
653 while winheight(0) > 2
[all …]
/dports/editors/vim/vim-8.2.3745/src/testdir/
H A Dtest_window_cmd.vim115 call assert_equal(winheight(1), winheight(2))
301 let [wh1, wh2] = [winheight(1), winheight(2)]
325 let [wh1, wh2, wh3] = [winheight(1), winheight(2), winheight(3)]
341 let [wh1, wh2, wh3] = [winheight(1), winheight(2), winheight(3)]
419 let height_1 = winheight(1)
420 let height_2 = winheight(2)
429 call assert_equal(winheight(1), winheight(3))
430 call assert_equal(winheight(2), winheight(4))
743 let height = winheight(0)
744 while winheight(0) > 2
[all …]
H A Dtest_man.vim7 let l:h = winheight(1)
20 call assert_true(l:h > winheight(1))
29 call assert_true(l:h > winheight(1))
38 call assert_equal(l:h, winheight(1))
47 call assert_inrange(l:h - 1, l:h + 1, winheight(1))
H A Dtest_winbuf_close.vim134 let l:height = winheight(0)
138 call assert_equal(l:height, winheight(0))
168 call assert_equal(11, winheight(l:wid))
171 call assert_equal(11, winheight(l:wid))
224 let h = winheight(0)
228 …call assert_equal(h, winheight(0), "Window height does not match eight before opening and closing …
H A Dtest_terminal2.vim26 call assert_equal(6, winheight(win))
33 call assert_equal(10, winheight(win))
50 call assert_equal([winheight(win), winwidth(win)], term_getsize(buf))
66 call assert_equal([winheight(win), 33], term_getsize(buf))
79 call assert_inrange(10, 1000, winheight(win))
81 call assert_equal([winheight(win), winwidth(win)], term_getsize(buf))
87 call assert_equal(15, winheight(win))
94 call assert_equal(7, winheight(win))
104 call assert_equal([winheight(win), winwidth(win)], term_getsize(buf))
136 let rows = winheight(0)
[all …]
/dports/graphics/xli/xli-2006-11-10/
H A Dwindow.c136 if (winheight > height)
137 pixy = (winheight - height) / 2;
140 pixy = winheight - height;
476 int winx, winy, winwidth, winheight; local
493 &winwidth, &winheight);
498 winheight = DisplayHeight(disp, scrn);
506 if (!winheight) {
507 winheight = image->height;
580 winx, winy, winwidth, winheight, 0,
686 sh.height = winheight;
[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()
381 if (!winheight) in main()
382 winheight = globals.dinfo.height; in main()
386 aty = scentre(winheight, inew->height); in main()
389 itmp = clip(inew, -atx, -aty, winwidth, winheight, io); in main()
/dports/audio/ocp/ocp-0.2.90/cpiface/
H A Dcpitext.c166 int winheight=plScrHeight-winfirst; in cpiTextRecalc() local
233 if ((winmin<=winheight)&&(sidemin<=sideheight)) in cpiTextRecalc()
246 if (winmin>winheight) in cpiTextRecalc()
281 if ((winheight-whgt)>(winmax-win[best].hgtmax)) in cpiTextRecalc()
282 whgt=winheight-(winmax-win[best].hgtmax); in cpiTextRecalc()
305 winheight-=hgt; in cpiTextRecalc()
375 if (winmax<=winheight) in cpiTextRecalc()
389 hgt=winheight-(winmax-win[best].hgtmax); in cpiTextRecalc()
420 …wid=(((winfirst+winheight)<=(sidefirst+sideheight))&&((winfirst+winheight-hgt)>=sidefirst))?plScrW… in cpiTextRecalc()
429 winheight-=hgt; in cpiTextRecalc()
[all …]
/dports/misc/magicpoint/magicpoint-1.13a/image/
H A Dwindow.c123 int width, height, winwidth, winheight;
138 if (winheight > height)
139 pixy= (winheight - height) / 2;
142 pixy= winheight - height;
580 winx= winy= winwidth= winheight= 0;
592 winheight= DisplayHeight(disp, scrn);
601 if (!winheight) {
602 winheight= image->height;
680 winwidth, winheight, 0,
778 sh.height= winheight;
[all …]
/dports/x11/xloadimage/xloadimage.4.1/
H A Dwindow.c124 int width, height, winwidth, winheight;
139 if (winheight > height)
140 pixy= (winheight - height) / 2;
143 pixy= winheight - height;
601 winx= winy= winwidth= winheight= 0;
612 winheight= DisplayHeight(disp, scrn);
621 if (!winheight) {
622 winheight= image->height;
700 winwidth, winheight, 0,
798 sh.height= winheight;
[all …]
H A Dxloadimage.c283 winheight= opt->info.geometry.h;
287 winheight= 0;
295 (dump || onroot) && (winwidth || winheight ||
301 if (!winheight)
302 winheight= DisplayHeight(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,
459 if (!winheight)
[all …]
/dports/games/xgalaga-sdl/xgalaga-sdl-2.1.1.0-sdl/src/
H A Dmain.c132 stars[i].y = random()%winheight; in init_stars()
149 if(stars[i].y >= winheight) { in do_stars()
150 stars[i].y-=winheight-ABS(starspeed); in do_stars()
184 y = (winheight - SFont_TextHeight(fnt_big_red))/2; in do_stars()
468 if(aliens[i].y > winheight) { in do_aliens()
696 if(t->y > winheight || t->x < 0 || t->x > winwidth) { in do_etorps()
709 new_explosion(plx, winheight - playerShip->height/2, 2); in do_etorps()
1137 new_torp(plx, winheight - playerShip->height, 0, -TORPSPEED*1.15); in do_player()
1140 new_torp(plx - 5, winheight - playerShip->height, 0, -TORPSPEED*1.15); in do_player()
1141 new_torp(plx + 5, winheight - playerShip->height, 0, -TORPSPEED*1.15); in do_player()
[all …]
H A Dtitle.c45 if((pausey < pauseImage->height/2) || ((pausey+(pauseImage->height/2)) >= winheight)) in do_pause()
250 …SFont_WriteCenter(fnt_reg_yellow, winheight - 2*SFont_TextHeight(fnt_reg_yellow), "Press space to … in do_title()
251 SFont_WriteCenter(fnt_reg_yellow, winheight - SFont_TextHeight(fnt_reg_yellow), "Or q to quit"); in do_title()
272 pausey = winheight/2; in init_titles()
/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()
1189 height = (int) (scale * winheight); 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()
1440 winheight = guessed_h; in cvShowVecSamples()
1442 winwidth, winheight ); in cvShowVecSamples()
[all …]
/dports/editors/neovim/neovim-0.6.1/test/functional/terminal/
H A Dedit_spec.lua50 local winheight = curwinmeths.get_height()
51 local buf_cont_start = rep - sb - winheight + 2
59 for i = 1,(winheight - 1) do
60 local line = bufcontents[#bufcontents - winheight + i]
/dports/chinese/fcitx-ui-light/fcitx-ui-light-0.1.3/src/
H A DMenuWindow.c294 int winheight=0; in GetMenuSize() local
298 winheight = MenuMarginTop + MenuMarginBottom;//菜单头和尾都空8个pixel in GetMenuSize()
304 winheight += 6+fontheight; in GetMenuSize()
307 winheight += 5; in GetMenuSize()
313 menu->height = winheight; in GetMenuSize()
445 int winheight=MenuMarginTop; in SelectShellIndex() local
457 if (y>winheight+1 && y<winheight+6+fontheight-1) in SelectShellIndex()
460 *offseth = winheight; in SelectShellIndex()
463 winheight=winheight+6+fontheight; in SelectShellIndex()
466 winheight+=5; in SelectShellIndex()
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Dlangselwin.c386 static int winheight = 0; in display_langsel_handler() local
446 winheight = non_line_height + line_step * max_lang_lines; in display_langsel_handler()
449 if (winheight > (sizefrac * window_height)) in display_langsel_handler()
453 winheight = non_line_height + line_step * max_lang_lines; 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()
528 draw_string_small_zoomed(winsep, winheight - winsep - note_height, in display_langsel_handler()
/dports/lang/yabasic/yabasic-2.90.1/unix/lang/
H A Dgraphic.c81 int winwidth, winheight; /* size of window */ variable
186 winheight = (int) pop (stNUMBER)->value; in openwin()
187 if (winheight < 1) { in openwin()
543 cr.bottom = winy + winheight; in winthread()
579 cr.bottom = winheight; in winthread()
1805 yz = winheight / 2; in transform()
1809 yz = winheight; in transform()
2006 if (he > winheight - ye) { in putbit()
2007 he = winheight - ye; in putbit()
2105 if (ye2 >= winheight) { in getbit()
[all …]
/dports/japanese/skkserv/skk-9.6/contrib/skkinput-0.99/
H A DSkkInput.c357 unsigned int winwidth, winheight, pr ; in Realize() local
365 winheight = 3 ; in Realize()
368 &xpos, &ypos, &winwidth, &winheight ) ; in Realize()
382 rows = ( ( HeightValue & pr ) && winheight > 0 )? winheight : 3 ; in Realize()
396 sizehints.height = winheight ; in Realize()
404 winheight = w->core.border_width * 2 + rows * w->skkinput.font_height ; in Realize()
424 sizehints.y = ypos - winheight ; in Realize()
429 sizehints.y = ypos - winheight ; in Realize()
437 (Dimension)winwidth, (Dimension)winheight, in Realize()
/dports/cad/graywolf/graywolf-0.1.6-4-gf47937b/src/Ylib/
H A Dinfo.h43 INT winheight ; /* window height in pixels */ member
59 extern void TWsetDrawInfo( P3( INT winheight, INT winwidth, Pixmap pixmap )) ;
H A Dmenus.c280 wattr.height != infoS->winheight ){ in TWrestoreState()
379 1, infoS->winheight + MENUHEIGHT,
956 infoS->winheight, 0L, 0L ) ; in TWcheckMouse()
1063 ytemp = infoS->winheight - ytemp ;
1349 ytemp = infoS->winheight - ytemp ; in TWmouse_tracking_pt()
1478 winheight = event.xconfigure.height ; in TWcheckReconfig()
1480 if( winheight == height && in TWcheckReconfig()
1489 winheight -= 2 * MENUHEIGHT ; in TWcheckReconfig()
1520 0, MENUHEIGHT, winwidth, winheight ) ; in resize_windows()
1527 (unsigned)winwidth, (unsigned)winheight, in resize_windows()
[all …]
/dports/games/90secondportraits/90-Second-Portraits-1.01b/
H A Dmain.lua23 local winwidth, winheight = love.window.getDesktopDimensions()
25 updateScale(winheight / HEIGHT)
29 updateScale(math.floor(winheight / HEIGHT))
/dports/graphics/pho/pho/
H A Dwinman.c168 gint winwidth, winheight; in window_get_frame_extents() local
170 gdk_drawable_get_size(window->window, &winwidth, &winheight); in window_get_frame_extents()
173 *height = rect.height - winheight; in window_get_frame_extents()
H A Dgwin.c714 gint winwidth, winheight; in PrepareWindow() local
716 gdk_drawable_get_size(gWin->window, &winwidth, &winheight); in PrepareWindow()
717 gdk_drawable_get_size(sDrawingArea->window, &winwidth, &winheight); in PrepareWindow()
740 || gCurImage->curHeight != winheight) { in PrepareWindow()
757 gdk_drawable_get_size(sDrawingArea->window, &winwidth, &winheight); in PrepareWindow()
759 || gCurImage->curHeight != winheight) { in PrepareWindow()

1234567891011