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 "ui/widgets/widgets.style";
|
|
|
|
using "ui/chat/chat.style";
|
|
|
|
|
|
|
|
photoEditorControlsHeight: 100px;
|
2021-02-16 03:45:05 +00:00
|
|
|
photoEditorControlsTopSkip: 50px;
|
2021-02-05 09:24:26 +00:00
|
|
|
|
2021-02-13 05:52:36 +00:00
|
|
|
photoEditorButtonIconFg: historyComposeIconFg;
|
|
|
|
photoEditorButtonIconFgOver: historyComposeIconFgOver;
|
|
|
|
|
|
|
|
photoEditorButtonIconFgActive: historyComposeIconFgOver;
|
2021-03-14 09:42:18 +00:00
|
|
|
photoEditorButtonIconFgInactive: menuFgDisabled;
|
2021-02-13 05:52:36 +00:00
|
|
|
|
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
|
|
|
}
|
2021-02-13 08:23:21 +00:00
|
|
|
|
2021-03-14 09:42:18 +00:00
|
|
|
photoEditorUndoButtonInactive: icon {{ "photo_editor/undo", photoEditorButtonIconFgInactive }};
|
|
|
|
photoEditorRedoButtonInactive: icon {{ "photo_editor/undo-flip_horizontal", photoEditorButtonIconFgInactive }};
|
|
|
|
|
2021-02-13 08:23:21 +00:00
|
|
|
photoEditorTextButtonPadding: margins(10px, 0px, 10px, 0px);
|
2021-02-16 03:45:05 +00:00
|
|
|
|
|
|
|
photoEditorColorPickerTopSkip: 20px;
|
|
|
|
photoEditorColorPickerWidth: 250px;
|
|
|
|
photoEditorColorPickerLineHeight: 20px;
|
|
|
|
photoEditorColorPickerCanvasHeight: 300px;
|
|
|
|
photoEditorColorPickerCircleSize: 24px;
|
|
|
|
photoEditorColorPickerCircleBigSize: 50px;
|
|
|
|
|
|
|
|
photoEditorColorPickerCircleSkip: 50px;
|
|
|
|
|
2021-02-22 03:25:13 +00:00
|
|
|
photoEditorCropPointSize: 10px;
|
|
|
|
photoEditorCropMinSize: 20px;
|
2021-02-23 06:58:25 +00:00
|
|
|
|
|
|
|
photoEditorItemHandleSize: 10px;
|
|
|
|
photoEditorItemMinSize: 16px;
|
|
|
|
photoEditorItemMaxSize: 512px;
|