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