- Split rect_draw_some_item into two versions, one to draw to the screen and on to draw to a GWorld.
- Temporary fix for the fact that PC #6 is often accessed. - I think that's all... git-svn-id: http://openexile.googlecode.com/svn/trunk@94 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -122,10 +122,10 @@ void cTextMsg::draw(){
|
||||
RGBForeColor(&draw_color);
|
||||
if (to_rect.bottom - to_rect.top < 20) { // essentially, it's a single line
|
||||
to_rect.left += 3;
|
||||
char_win_draw_string(parent->win,to_rect,lbl.c_str(),3,12,false);
|
||||
char_win_draw_string(parent->win,to_rect,lbl.c_str(),3,12);
|
||||
}else {
|
||||
InsetRect(&to_rect,4,4);
|
||||
char_win_draw_string(parent->win,to_rect,lbl.c_str(),0,textSize + 2,false);
|
||||
char_win_draw_string(parent->win,to_rect,lbl.c_str(),0,textSize + 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user