summaryrefslogtreecommitdiffstats
path: root/scene/resources/default_theme/default_theme.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #46045 from bruvzg/text_server_bmp_createRémi Verschelde2021-02-241-32/+34
|\ | | | | [TextServer] Restores bitmap font dynamic construction functions.
| * [Text Server] Restores bitmap font dynamic construction functions.bruvzg2021-02-151-32/+34
| |
* | Improved PopupMenu visuals. Removed x-y margin, made it 'padding' instead.Eric M2021-02-151-0/+2
|/
* [CTL] Add missing font outline drawing routines and theme constants.bruvzg2021-02-141-2/+50
|
* Fix LineEdit minimum widthreduz2021-02-121-1/+1
| | | | | -Changed theme setting name to make more sense of what it does -Reduced amount of minimum characters, so minimum size is smaller.
* Initialize class variables with default values in scene/ [2/2]Rafał Mikrut2021-02-091-1/+1
|
* doc: Sync classref with current sourceRémi Verschelde2021-01-281-2/+2
|
* Added missed Button `font_hover_pressed_color` styleYuri Roubinsky2021-01-271-0/+1
|
* Reveals Button "icon_color" style properties to the userYuri Roubinsky2021-01-261-0/+6
|
* Merge pull request #44194 from madmiraal/fix-font_selected_colorRémi Verschelde2021-01-261-68/+69
|\ | | | | Change themes font_color_selected to font_selected_color
| * Change themes *_color_* to *_*_colorMarcel Admiraal2021-01-241-68/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
* | Fix minimap capturing events and improve its themeYuri Sizov2021-01-251-0/+1
|/ | | | Add an editor setting for minimap opacity in visual editors
* Fix typo in theming methods ("botton" -> "bottom")Hugo Locurcio2021-01-181-7/+7
|
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Rename Control margin to offsetMarcel Admiraal2020-12-231-39/+39
|
* Merge pull request #43416 from pycbouh/graph-minimapRémi Verschelde2020-12-171-0/+44
|\ | | | | Add a minimap to the GraphEdit
| * Add a minimap to the GraphEditYuri Sizov2020-11-301-0/+44
| |
* | [Complex Text Layouts] Refactor RichTextLabel.bruvzg2020-12-111-0/+9
| |
* | Add "font_color_separator" theme property to 'PopupMenu'Michael Alexsander2020-12-031-0/+1
|/
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-39/+84
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Move safe line color into editorPaulb232020-09-101-1/+0
|
* Add folding gutter to code_editPaulb232020-09-101-3/+2
|
* Add main_gutter (breakpoints, bookmarks, execution lines) to code_editPaulb232020-09-101-4/+6
|
* Changed line_edited_from(from) to lines_edit_from(from, to)Paulb232020-09-101-3/+0
|
* Added Line numbers to CodeEditPaulb232020-09-101-1/+0
|
* Add and convert editor to use CodeEditPaulb232020-09-101-0/+41
|
* Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighterPaulb232020-07-111-4/+0
| | | | | | | | - Extacted all syntax highlighting code from text edit - Removed enable syntax highlighting from text edit - Added line_edited_from signal to text_edit - Renamed get/set_syntax_highlighting to get/set_syntax_highlighter - Added EditorSyntaxHighligher
* Change how default fonts are created, fixes #39235Juan Linietsky2020-07-031-25/+25
| | | | Also fixes file dialog icons.
* Fix default editor/project Button styles after ToolButton removalHugo Locurcio2020-06-241-16/+0
| | | | | Before this fix, all Buttons made with the default project theme looked flat until hovered.
* Remove ToolButton in favor of ButtonHugo Locurcio2020-06-191-12/+12
| | | | | | | | | | | ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
* Add generic file icon and its modulation to the 'FileDialog'Michael Alexsander2020-06-081-0/+2
|
* Clarifies 'icon_separation' in TabContainer (instead of 'hseparation')Dominik 'dreamsComeTrue' Jasiński2020-05-211-1/+1
| | | | Fixes: #38911
* Remove HQ2X and the `Image.expand_2x_hq2x()` methodHugo Locurcio2020-05-161-27/+6
| | | | | | | | | | | | | | As of Godot 3.0, HQ2X is no longer used to upscale the editor theme and icons on hiDPI displays, which limited its effective uses. HQ2X was also used to upscale the project theme when the "Use Hidpi" project setting was enabled, but results were often less than ideal. The new StyleBoxFlat and SVG support also make HQ2X less important to have as a core feature. This decreases binary sizes slightly (-150 KB on most platforms, -212 KB on WebAssembly release). This partially addresses #12419.
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-1/+2
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-11/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Merge pull request #37517 from nekomatata/slider-grab-area-highlightRémi Verschelde2020-04-101-0/+2
|\ | | | | Add style for highlighted Slider grab area
| * Add style for highlighted Slider grab areaPouleyKetchoupp2020-04-021-0/+2
| |
* | Replace NULL with nullptrlupoDharkael2020-04-021-5/+5
|/
* Open sub-windows as embedded if the OS does not support themJuan Linietsky2020-03-261-12/+13
|
* Working multiple window support, including editorJuan Linietsky2020-03-261-9/+11
|
* Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-171-1/+1
| | | | | | | | | | For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
* Remove unused theme constants in Tab(Container)Michael Alexsander2020-02-221-6/+0
|
* Texture refactorJuan Linietsky2020-02-111-6/+6
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Completes doc for ItemList and TreeHaoyu Qiu2020-02-071-2/+0
|
* Make possible to edit the GraphEdit's selection rect colorsMichael Alexsander2020-01-071-0/+2
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Revert "Merge pull request #34315 from ↵Michael Alexsander2019-12-281-4/+4
| | | | | | | YeldhamDev/editor_theme_optionbutton_arrow" This reverts commit 0da0eec6cc42066626f867079700c10737092217, reversing changes made to ec97535ea34456607c0c53607d41e34f272890ec.
* Remove unused theme elements in H/VSliderMichael Alexsander2019-12-131-6/+0
|
* Add "panel" style to PopupDialogMichael Alexsander2019-10-271-1/+6
|
* Fix the default TextEdit background colorHugo Locurcio2019-10-251-1/+1
| | | | This closes #32724.