- stringinput: rework dialogs

* fix diplay with all fontsizefactors
* dynamical height/width/position of dialogs
* dynamical height of buttonbar
This commit is contained in:
svenhoefer
2013-03-09 15:06:10 +01:00
parent 3d386649a9
commit fad249ebb5
4 changed files with 190 additions and 183 deletions

View File

@@ -53,8 +53,11 @@ class CExtendedInput : public CMenuTarget
int height;
int hintPosY;
int hheight; // head font height
int mheight; // menu font height
int iheight;
int bheight; // body height
int input_h; // input field height
int input_w; // input field width
int offset;
std::vector<CExtendedInput_Item*> inputFields;
int selectedChar;
@@ -88,7 +91,9 @@ class CExtendedInput_Item
{
protected:
CFrameBuffer *frameBuffer;
int ix, iy, idx, idy;
int input_h; // input field height
int input_w; // input field width
int ix, iy;
char* data;
public: