Preview in text window is now drawn with the back color, so you can see the antialiasing correctly.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@769 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
4e387fdbfc
commit
6f37000cd5
@ -5127,12 +5127,7 @@ void Button_Text()
|
||||
{
|
||||
free(new_brush);
|
||||
}
|
||||
Block(
|
||||
Window_pos_X+preview_button->Pos_X*Menu_factor_X,
|
||||
Window_pos_Y+preview_button->Pos_Y*Menu_factor_Y,
|
||||
preview_button->Width*Menu_factor_X,
|
||||
preview_button->Height*Menu_factor_Y,
|
||||
MC_Light);
|
||||
Window_rectangle(8, 106, 273, 50,Back_color);
|
||||
new_brush = Render_text(preview_string, cursor_position+list_start, font_size, antialias, is_bold, is_italic, &new_width, &new_height);
|
||||
if (new_brush)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user