Moved a initialization from the widget to the widget manager, where it should be.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
78268a508a
commit
7a1a13b3b6
@ -80,8 +80,7 @@ Widget::Widget
|
||||
m_round_corners(WGT_AREA_ALL),
|
||||
m_border_list(0),
|
||||
m_scroll_pos_x(0), m_scroll_pos_y(0),
|
||||
m_text_scale(1.0f),
|
||||
m_enable_border(false)
|
||||
m_text_scale(1.0f)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -89,6 +89,7 @@ bool WidgetManager::addWgt
|
||||
new_id.widget->m_round_corners = m_default_rect_round_corners;
|
||||
new_id.widget->m_rect_color = m_default_rect_color;
|
||||
|
||||
new_id.widget->m_enable_border = m_default_show_border;
|
||||
new_id.widget->m_border_percentage = m_default_border_percentage;
|
||||
new_id.widget->m_border_color = m_default_border_color;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user