2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

New way of working with boxes (layers).

Now the background of boxes is separated to another widget.
This will allow to use a special layer widget (like settings)
together with the usual layers-boxes upon it, moving the special
widget behind the dark background when a usual layer-box is shown.
This commit is contained in:
John Preston
2016-08-16 19:53:10 +03:00
parent 05697374c5
commit 392984f276
54 changed files with 770 additions and 990 deletions

View File

@@ -194,7 +194,7 @@ void hideMediaPreview() {
}
}
void showLayer(LayeredWidget *box, ShowLayerOptions options) {
void showLayer(LayerWidget *box, ShowLayerOptions options) {
if (auto w = App::wnd()) {
w->ui_showLayer(box, options);
} else {