mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
[macOS, Windows] Add support for excluding windows from a screenshot.
This commit is contained in:
parent
a372214a4a
commit
9fece033ab
12 changed files with 357 additions and 77 deletions
|
|
@ -133,10 +133,14 @@ private:
|
|||
Vector<ColorMode *> modes;
|
||||
|
||||
Popup *picker_window = nullptr;
|
||||
TextureRect *picker_texture_zoom = nullptr;
|
||||
Panel *picker_preview = nullptr;
|
||||
Panel *picker_preview_color = nullptr;
|
||||
Ref<StyleBoxFlat> picker_preview_style_box;
|
||||
Ref<StyleBoxFlat> picker_preview_style_box_color;
|
||||
|
||||
// Legacy color picking.
|
||||
TextureRect *picker_texture_rect = nullptr;
|
||||
Label *picker_preview_label = nullptr;
|
||||
Ref<StyleBoxFlat> picker_preview_style_box;
|
||||
Color picker_color;
|
||||
FileDialog *file_dialog = nullptr;
|
||||
Button *menu_btn = nullptr;
|
||||
|
|
@ -297,6 +301,7 @@ private:
|
|||
void _add_preset_pressed();
|
||||
void _html_focus_exit();
|
||||
void _pick_button_pressed();
|
||||
void _target_gui_input(const Ref<InputEvent> &p_event);
|
||||
void _pick_finished();
|
||||
void _update_menu_items();
|
||||
void _update_menu();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue