xi.c Corretto disegno bottone in alto a destra degli spreadsheet
xilm2.c Corretto commento xilm3.c Tolta riga vuota xi_port.c Eliminato warning di compilazione git-svn-id: svn://10.65.10.50/trunk@5863 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
14a7f1fc57
commit
2f0baf5373
2
xi/xi.c
2
xi/xi.c
@ -1621,6 +1621,8 @@ draw_list_button( XinWindow win, XinRect * rct, BOOLEAN down )
|
||||
BOOLEAN x2;
|
||||
|
||||
r = *rct;
|
||||
xi_set_clip( win, NULL ); // XI forgot this!
|
||||
|
||||
XinWindowPenSet( win, &black_cpen );
|
||||
XinWindowBrushSet( win, &hollow_cbrush );
|
||||
xi_draw_rect( win, &r );
|
||||
|
@ -3837,7 +3837,7 @@ function: lm_get_metrics
|
||||
lm_def: definition of a list
|
||||
hborder: to be filled in with the horizontal border width
|
||||
column_div: to be filled in with the column spacing in pixels
|
||||
list_button: bottom of the list, in pixels
|
||||
list_bottom: bottom of the list, in pixels
|
||||
-------------------------------------------------------------------------*/
|
||||
void
|
||||
lm_get_metrics( XI_OBJ_DEF * obj_def, int *hborder, int *column_div,
|
||||
|
@ -3049,7 +3049,7 @@ TO OPTIMIZE BACKGROUND DRAWING, USE THE FOLLOWING LINE, AND DON'T SET TO HOLLOW
|
||||
draw_cells( lmp, update );
|
||||
|
||||
draw_other_rectangles( lmp, &actual_rct );
|
||||
|
||||
|
||||
xi_set_clip( win, NULL );
|
||||
}
|
||||
|
||||
|
@ -1868,7 +1868,7 @@ XinFontNativeConvert( XinFont * font )
|
||||
attrib = xvt_font_get_style( font->xvt_fntid );
|
||||
font->italic = (attrib & XVT_FS_ITALIC ? TRUE : FALSE);
|
||||
font->bold = (attrib & XVT_FS_BOLD ? TRUE : FALSE);
|
||||
font->size = xvt_font_get_size( font->xvt_fntid );
|
||||
font->size = (int)xvt_font_get_size( font->xvt_fntid );
|
||||
font->from_xvt_font = FALSE;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user