TilePICoutix

git-svn-id: svn://db.shs.com.ru/pip@45 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-03-30 11:23:13 +00:00
parent 595543bea9
commit 0cb2b20d2e
11 changed files with 75 additions and 19 deletions

View File

@@ -53,7 +53,7 @@ public:
RowPressed
};
typedef PIPair<PIString, PIScreenTypes::CellFormat> Row;
PIVector<Row> content;
PIDeque<Row> content;
PIScreenTypes::Alignment alignment;
SelectionMode selection_mode;
PISet<int> selected;
@@ -135,4 +135,17 @@ protected:
};
class TilePICout: public TileList {
public:
TilePICout(const PIString & n = PIString());
PIScreenTypes::CellFormat format;
int max_lines;
protected:
void drawEvent(PIScreenDrawer * d);
bool keyEvent(PIKbdListener::KeyEvent key);
};
#endif // PISCREENTILES_H