Added dummy control icons for photo editor.
BIN
Telegram/Resources/icons/photo_editor/flip.png
Normal file
After Width: | Height: | Size: 134 B |
BIN
Telegram/Resources/icons/photo_editor/flip@2x.png
Normal file
After Width: | Height: | Size: 187 B |
BIN
Telegram/Resources/icons/photo_editor/flip@3x.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
Telegram/Resources/icons/photo_editor/paint.png
Normal file
After Width: | Height: | Size: 459 B |
BIN
Telegram/Resources/icons/photo_editor/paint@2x.png
Normal file
After Width: | Height: | Size: 901 B |
BIN
Telegram/Resources/icons/photo_editor/paint@3x.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Telegram/Resources/icons/photo_editor/rotate.png
Normal file
After Width: | Height: | Size: 553 B |
BIN
Telegram/Resources/icons/photo_editor/rotate@2x.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/photo_editor/rotate@3x.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Telegram/Resources/icons/photo_editor/undo.png
Normal file
After Width: | Height: | Size: 337 B |
BIN
Telegram/Resources/icons/photo_editor/undo@2x.png
Normal file
After Width: | Height: | Size: 642 B |
BIN
Telegram/Resources/icons/photo_editor/undo@3x.png
Normal file
After Width: | Height: | Size: 896 B |
|
@ -13,11 +13,28 @@ using "ui/chat/chat.style";
|
||||||
|
|
||||||
photoEditorControlsHeight: 100px;
|
photoEditorControlsHeight: 100px;
|
||||||
|
|
||||||
|
photoEditorButtonIconFg: historyComposeIconFg;
|
||||||
|
photoEditorButtonIconFgOver: historyComposeIconFgOver;
|
||||||
|
|
||||||
|
photoEditorButtonIconFgActive: historyComposeIconFgOver;
|
||||||
|
|
||||||
photoEditorRotateButton: IconButton(historyAttach) {
|
photoEditorRotateButton: IconButton(historyAttach) {
|
||||||
icon: icon {{ "send_control_attach", historyComposeIconFg }};
|
icon: icon {{ "photo_editor/rotate", photoEditorButtonIconFg }};
|
||||||
iconOver: icon {{ "send_control_attach", historyComposeIconFgOver }};
|
iconOver: icon {{ "photo_editor/rotate", photoEditorButtonIconFgOver }};
|
||||||
}
|
}
|
||||||
photoEditorFlipButton: IconButton(historyAttach) {
|
photoEditorFlipButton: IconButton(historyAttach) {
|
||||||
icon: icon {{ "send_control_attach", historyComposeIconFg }};
|
icon: icon {{ "photo_editor/flip", photoEditorButtonIconFg }};
|
||||||
iconOver: icon {{ "send_control_attach", historyComposeIconFgOver }};
|
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 }};
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ PhotoEditorControls::PhotoEditorControls(
|
||||||
st::photoEditorFlipButton))
|
st::photoEditorFlipButton))
|
||||||
, _paintModeButton(base::make_unique_q<Ui::IconButton>(
|
, _paintModeButton(base::make_unique_q<Ui::IconButton>(
|
||||||
_buttonsContainer,
|
_buttonsContainer,
|
||||||
st::photoEditorFlipButton)) {
|
st::photoEditorPaintModeButton)) {
|
||||||
|
|
||||||
_buttonsContainer->updateChildrenPosition();
|
_buttonsContainer->updateChildrenPosition();
|
||||||
|
|
||||||
|
|