menuslider width
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1823 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -227,7 +227,7 @@ struct mitemslider : mitem
|
||||
DELETEA(action);
|
||||
}
|
||||
|
||||
virtual int width() { return text_width(text) + sliderwidth + maxvaluewidth; }
|
||||
virtual int width() { return text_width(text) + sliderwidth + maxvaluewidth + 2*FONTH; }
|
||||
|
||||
virtual void render(int x, int y, int w)
|
||||
{
|
||||
@@ -288,7 +288,7 @@ struct mitemslider : mitem
|
||||
s_strcpy(curval, val);
|
||||
delete[] val;
|
||||
}
|
||||
else itoa(curval, value);
|
||||
else itoa(curval, value); // display number only
|
||||
}
|
||||
|
||||
void getmaxvaluewidth()
|
||||
|
||||
Reference in New Issue
Block a user