2021-02-05 09:24:26 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
using "ui/basic.style";
|
|
|
|
|
|
|
|
using "boxes/boxes.style";
|
|
|
|
using "ui/widgets/widgets.style";
|
|
|
|
using "ui/chat/chat.style";
|
|
|
|
|
|
|
|
photoEditorControlsHeight: 100px;
|
|
|
|
|
2021-02-13 05:52:36 +00:00
|
|
|
photoEditorButtonIconFg: historyComposeIconFg;
|
|
|
|
photoEditorButtonIconFgOver: historyComposeIconFgOver;
|
|
|
|
|
|
|
|
photoEditorButtonIconFgActive: historyComposeIconFgOver;
|
|
|
|
|
2021-02-05 09:24:26 +00:00
|
|
|
photoEditorRotateButton: IconButton(historyAttach) {
|
2021-02-13 05:52:36 +00:00
|
|
|
icon: icon {{ "photo_editor/rotate", photoEditorButtonIconFg }};
|
|
|
|
iconOver: icon {{ "photo_editor/rotate", photoEditorButtonIconFgOver }};
|
2021-02-05 09:24:26 +00:00
|
|
|
}
|
|
|
|
photoEditorFlipButton: IconButton(historyAttach) {
|
2021-02-13 05:52:36 +00:00
|
|
|
icon: icon {{ "photo_editor/flip", photoEditorButtonIconFg }};
|
|
|
|
iconOver: icon {{ "photo_editor/flip", photoEditorButtonIconFgOver }};
|
|
|
|
}
|
|
|
|
photoEditorPaintModeButton: IconButton(historyAttach) {
|
|
|
|
icon: icon {{ "photo_editor/paint", photoEditorButtonIconFg }};
|
|
|
|
iconOver: icon {{ "photo_editor/paint", photoEditorButtonIconFgOver }};
|
|
|
|
}
|
|
|
|
photoEditorUndoButton: IconButton(historyAttach) {
|
|
|
|
icon: icon {{ "photo_editor/undo", photoEditorButtonIconFg }};
|
|
|
|
iconOver: icon {{ "photo_editor/undo", photoEditorButtonIconFgOver }};
|
|
|
|
}
|
|
|
|
photoEditorRedoButton: IconButton(historyAttach) {
|
|
|
|
icon: icon {{ "photo_editor/undo-flip_horizontal", photoEditorButtonIconFg }};
|
|
|
|
iconOver: icon {{ "photo_editor/undo-flip_horizontal", photoEditorButtonIconFgOver }};
|
2021-02-05 09:24:26 +00:00
|
|
|
}
|