git-svn-id: svn://db.shs.com.ru/pip@232 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -38,7 +38,7 @@ PIString readableTime(const PITime & t) {
|
||||
}
|
||||
|
||||
|
||||
PIString askNewDir() {
|
||||
PIString askUserInput(const PIString & desc) {
|
||||
PIScreenTile dlg;
|
||||
dlg.setMargins(1, 1, 1, 1);
|
||||
dlg.spacing = 1;
|
||||
@@ -48,7 +48,7 @@ PIString askNewDir() {
|
||||
TileButtons * btns = new TileButtons();
|
||||
lbl->back_format.color_back = Yellow;
|
||||
btns->back_format.color_back = Yellow;
|
||||
lbl->content << TileSimple::Row("Enter new directory name:", CellFormat(Black, Transparent));
|
||||
lbl->content << TileSimple::Row(desc, CellFormat(Black, Transparent));
|
||||
btns->content << TileButtons::Button(" Ok ", CellFormat());
|
||||
btns->content << TileButtons::Button("Cancel", CellFormat());
|
||||
dlg.addTile(lbl);
|
||||
|
||||
Reference in New Issue
Block a user