Home
last modified time | relevance | path

Searched refs:FL_min (Results 1 – 25 of 48) sorted by relevance

12

/dports/x11-toolkits/xforms/xforms-1.2.4/lib/
H A Dvaluator.c81 vmin = FL_min( sp->min, sp->max ); in fli_valuator_round_and_clamp()
151 double vmin = FL_min( min, max ), in fli_clamp()
H A Dscrollbut.c64 w = h = FL_min( ob->w, ob->h ); in draw_scrollbutton()
73 extra += 1 + 0.051 * FL_min( w, h ); in draw_scrollbutton()
H A Dflcolor.c380 save = FL_min( cols_in_default_visual - 210, DEFAULT_SAVE ); in be_nice()
854 predefined_cols = FL_min( FL_BUILT_IN_COLS, max_server_cols ); in fli_init_colormap()
888 FL_min( cols_in_default_visual, DEFAULT_SAVE ) ); in fli_init_colormap()
1058 if ( ( max_col = FL_min( 256, 1 << s->depth ) ) == 0 ) in get_rgb_pixel()
1280 totalcols = FL_min( FL_MAX_COLS, 1L << fli_depth( fl_vmode ) ); in fl_mapcolor()
1583 int maxread = FL_min( MAXREAD, maxcolors ); in fl_create_colormap()
1616 nfill = FL_min( MAXFILL, nfill ); in fl_create_colormap()
1617 nfill = FL_min( nfill, maxcolors ); in fl_create_colormap()
H A Dlabelbut.c61 dw = FL_min( 0.6 * ob->w, dh ); in draw_labelbutton()
H A Dtimeout.c171 *msec = FL_min( *msec, diff ); in fli_handle_timeouts()
H A Droundbut.c56 rr = 0.3 * FL_min( ob->w, ob->h ) + 0.5; in draw_roundbutton()
H A Dcheckbut.c55 ww = hh = 0.6 * FL_min( ob->w, ob->h ); in draw_checkbutton()
H A Dround3d.c58 rr = 0.3 * FL_min( ob->w, ob->h ) + 0.5; in draw_round3dbutton()
H A Dscrollbar.c133 down->w = up->w = FL_min( w, h ); in get_geom()
150 up->h = down->h = FL_min( w, h ); in get_geom()
H A Ddial.c123 radius = 0.5 * FL_min( w, h ); in draw_dial()
135 r = FL_min( 0.5 * iradius, 15 ); in draw_dial()
H A Dsymbols.c268 w = h = FL_min( w, h ); in fl_draw_symbol()
684 if ( ( rr = 0.5 * FL_min( w, h ) ) <= 0 ) in draw_circle()
779 int shadow = FL_max( 2, 0.1 * FL_min( w, h ) ), in draw_menu()
780 t = FL_min( 2, 0.3 * hm ); in draw_menu()
H A Dcounter.c92 FL_min( 0.18 * ob->w, ob->h ); in draw_counter()
104 sp->ww[ 1 ] = sp->ww[ 2 ] = FL_min( 0.20 * ob->w, ob->h ); in draw_counter()
H A Dobjects.c2928 int x = FL_min( r1->x + r1->width, r2->x + r2->width ), in fli_intersect_rects()
2929 y = FL_min( r1->y + r1->height, r2->y + r2->height ); in fli_intersect_rects()
2955 r1->x = FL_min( r1->x, r2->x ); in fli_combine_rectangles()
2956 r1->y = FL_min( r1->y, r2->y ); in fli_combine_rectangles()
3576 rect->width = FL_min( obj->w, obj->w ) + sw; in get_label_rect()
H A Dinput.c844 FL_min( i - sp->position + 1, MAXCBLEN ) ); in handle_edit()
891 FL_min( j - sp->position + 1, MAXCBLEN ) ); in handle_edit()
903 fli_sstrcpy( cutbuf, sp->str, FL_min( slen, MAXCBLEN ) ); in handle_edit()
923 FL_min( i - sp->position + 1, MAXCBLEN ) ); in handle_edit()
949 FL_min( j - sp->position + 1, MAXCBLEN ) ); in handle_edit()
/dports/x11-toolkits/xforms/xforms-1.2.4/image/
H A Dimage_combine.c78 w = FL_min( im1->w, im2->w ); in flimage_combine()
79 h = FL_min( im1->h, im2->h ); in flimage_combine()
H A Dimage_crop.c230 int rows = FL_min( nh, im->h ), in flimage_crop()
231 cols = FL_min( nw, im->w ); in flimage_crop()
H A Dimage_scale.c289 m[ 0 ][ 0 ] = m[ 1 ][ 1 ] = FL_min( m[ 0 ][ 0 ], m[ 1 ][ 1 ] ); in flimage_scale()
/dports/biology/seaview/seaview/
H A Dxfmatpt.cxx530 l = FL_min(matpt->region_size, matpt->seqlong1 - matpt->hitx + 1); in compute_region_text()
531 l = FL_min(l, matpt->seqlong2 - matpt->hity + 1); in compute_region_text()
602 i = FL_min(matpt->seqlong1, matpt->seqlong2); in draw()
612 i = FL_min(matpt->seqlong1, matpt->seqlong2); in draw()
674 matpt->hitx = FL_min(matpt->hitx + 5, matpt->seqlong1); in handle()
675 matpt->hity = FL_min(matpt->hity + 5, matpt->seqlong2); in handle()
678 matpt->hity = FL_min(matpt->hity + 5, matpt->seqlong2); in handle()
927 matpt->hitx = FL_min(matpt->hitx + 1, matpt->seqlong1); in move_box_step()
934 matpt->hitx = FL_min(matpt->hitx + 1, matpt->seqlong1); in move_box_step()
935 matpt->hity = FL_min(matpt->hity + 1, matpt->seqlong2); in move_box_step()
[all …]
H A Dpseudoterminal.cxx147 #define FL_min(a,b) ( (a) < (b) ? (a):(b) ) in create_and_run_pseudoterminal() macro
150 Fl_Double_Window *w = new Fl_Double_Window( FL_min(700, Fl::w()), FL_min(600, Fl::h()-22 ) ); in create_and_run_pseudoterminal()
H A Dcomlines.cxx52 FL_min((unsigned)view->wid_names, in draw_comment_lines()
214 numdels = FL_min(numdels, pos); in delete_in_all_comments()
H A Dregions.cxx615 psegment->debut = FL_min(debut, psegment->debut); in ajout_segment()
669 y = view->y_seq + FL_min(view->tot_lines, view->tot_seqs) * view->line_height; in draw_region_line()
878 min = FL_min(prev_site, new_site); in continue_change_segment()
882 new_debut = FL_min(new_debut, new_site); in continue_change_segment()
1186 h = FL_min(view->tot_lines, view->tot_seqs - view->first_seq + 1) * in draw_region_background()
1207 nb_sites = FL_min(segment->fin, der_site) - debut + 1; in draw_region_background()
H A Dseaview.cxx1032 view->y_name + FL_min(view->tot_lines, view->tot_seqs) * in draw_seq_names()
1085 if (lc == lbytes) draw_bytes = FL_min(view->wid_names, lbytes); in draw_seq_names()
1206 fin_block = FL_min(segment->fin, in draw_dna_seqs()
1351 fin = FL_min(segment->fin, der_site); in draw_dna_seqs_inverted()
1408 FL_min(tot_lines, view->tot_seqs) + 1; in compute_size_params()
2491 deplacer_grp_seqs( view, FL_min(num + 2, view->tot_seqs) ); in edit_menu_callback()
2494 FL_min(num + 1, view->tot_seqs - view->tot_lines + 1); in edit_menu_callback()
2496 view->first_seq = FL_min(num + 2, in edit_menu_callback()
2583 FL_min(new_pos - 2, 1); in edit_menu_callback()
2585 view->first_seq = FL_min(new_pos - 2, in edit_menu_callback()
[all …]
H A Dseaview.h62 #define FL_min(a,b) ( (a) < (b) ? (a):(b) ) macro
/dports/x11-toolkits/xforms/xforms-1.2.4/fd2ps/
H A Dpsobj.c499 dw = FL_min( 0.6 * ob->w, dh ); in flps_draw_button()
545 dw = FL_min( 0.6 * ob->w, dh ); in flps_draw_labelbutton()
835 rr = 0.3 * FL_min( ob->w, ob->h ); in flps_draw_roundbutton()
876 w = h = FL_min( ob->w, ob->h ); in flps_draw_scrollbutton()
884 extra += 1 + 0.051 * FL_min( w, h ); in flps_draw_scrollbutton()
915 rr = 0.3 * FL_min( ob->h, ob->w ); in flps_draw_round3dbutton()
968 ww = hh = 0.6 * FL_min( ob->w, ob->h ); in flps_draw_checkbutton()
1090 radius = 0.5 * FL_min(w, h); in flps_draw_dial()
1114 r = FL_min( 15, r ); in flps_draw_dial()
1283 ww[ 0 ] = ww[ 1 ] = ww[ 2 ] = ww[ 3 ] = FL_min( 0.16 * ob->w, ob->h ); in flps_draw_counter()
[all …]
/dports/x11-toolkits/xforms/xforms-1.2.4/demos/
H A Dcrossbut.c62 ww = hh = 0.5 * FL_min( ob->w, ob->h ) - 1; in draw_crossbutton()

12