Commit Graph

51 Commits

Author SHA1 Message Date
Martín Lucas Golini
7756ea7d03 ecode: Project Build minor fix. 2023-04-11 21:26:01 -03:00
Martín Lucas Golini
2c1811e519 eepp: Several fixes on widgets.
ecode: Build Side Panel WIP.
2023-04-10 18:58:34 -03:00
Martín Lucas Golini
05380a8069 Add focusable property to CSS elements. 2023-03-22 10:32:41 -03:00
Martín Lucas Golini
854e148a36 eepp: Added UIAnchor (Anchor or a).
UIRelativeLayout: Respect max width and height when using match_parent.
ecode: New icon WIP.
Fixed LSP TCP server connecting from the main thread (now connects async).
2023-03-20 16:33:35 -03:00
Martín Lucas Golini
54a6fd63e9 eepp:
Implemented CSS properties: text-shadow-offset and hint-shadow-offset. Renamed shadow-color to text-shadow-color. Added shorthand text-shadow and hint-shadow.
Improved tooltip positioning.
ecode:
Closes SpartanJ/ecode#2 (Fixes fullscreen window on Windows).
Closes SpartanJ/ecode#14 (Fixes folder rename, allows deleting folders).
Closes SpartanJ/ecode#15 (Fixes folder doesn't automatically expand when creating a new file after being closed).
2023-01-17 23:13:08 -03:00
Martín Lucas Golini
d787887982 Fixed selectors with multiple pseudo-classes.
Added support for :focus-within pseudo-class.
Fixed a bug in CSSPropertiesModel.
Fixed a bug in UIWidgetInspector.
Improved CSS syntax definition.
UIEditor: replaced the widget inspector in favor of UIWidgetInspector. Fixed a bug with the find-replace component.
2022-10-22 02:17:37 -03:00
Martín Lucas Golini
2d53c07c4b Fix high CPU usage issue with emscripten demos. 2022-10-16 19:39:16 -03:00
Martín Lucas Golini
4b6ce692b9 ADded DroidSansFallbackFull as fallback font in ecode and eterm.
CheckBox and RadioButton now display hover effect.
Added alias "lg" for layout-gravity.
Node: Added addMouseClickListener and hasChild helper functions.
UICodeEditor: Fixed a minor bug that provoked to scroll the view when resizing the widget.
UITabWidget: minor bug fix.
ecode: Fixed a bug that caused to save a monospace font when the user did not accept to change it.
Added debug options to the widget inspector.
Added i18n to all strings defined in XML files/strings.
Added "Rename Session" button in the Terminal menu.
2022-10-16 03:23:01 -03:00
Martín Lucas Golini
54a177bc8e Added gravity-owner property to fix a bug in ecode document changed alert. 2022-10-14 23:48:37 -03:00
Martín Lucas Golini
4da3d8e750 UICodeEditor and ecode: Added line spacing support. 2022-10-09 13:36:03 -03:00
Martín Lucas Golini
6fff897d94 Added text-transform support. 2022-09-18 03:15:34 -03:00
Martín Lucas Golini
19e2aba3ba ecode: Added Terminal menu. 2022-09-12 01:38:11 -03:00
Martín Lucas Golini
db57f39ae3 Added support to "cubic-bezier" timing function. 2022-09-08 20:14:07 -03:00
Martín Lucas Golini
5ca4fa2a88 Added "border" CSS shorthand.
Fixed "background" CSS shorthand parsing.
All UI Widgets emit "OnClose" event when being destroyed.
Minor fixes in UIDropDownList and UIImage.
Added aliases for "layout_width" -> "lw", "layout_height" -> "lh", "layout_weight" -> "lw8". And for "wrap_content" -> "wc" and "match_parent" -> "mp".
2022-08-22 01:52:48 -03:00
Martín Lucas Golini
55c63e3dbc Several minor improvements. 2022-08-20 03:46:14 -03:00
Martín Lucas Golini
294f743ab0 Updated README.md links to the new CDN.
Started refactoring UIEditor.
2022-08-07 22:01:40 -03:00
Martín Lucas Golini
220cf0f510 DrawableImageParser: now supports "icon" and "glyph" functions.
StyleSheetSpecification: Added "background-tint" and "foreground-tint" (tints the "background-image" and "foreground-image" respectively).
FunctionString: minor fix and now stores if the parameters was parsed as a string.
2022-08-07 02:09:52 -03:00
Martín Lucas Golini
46dad2ac63 Added support for data:image URIs.
StyleSheetPropertiesParser: fix quoted text reading.
ecode: ProjectDirectoryTree fix recursive directories scan.
2022-08-06 03:06:16 -03:00
Martín Lucas Golini
7372fe0051 premake5 try fix ecode build for macOS (not tested).
Added support for more mouse buttons.
Minor fix in CSS specification.
Changed TERM to xterm-256color.
2022-07-19 15:06:21 -03:00
Martín Lucas Golini
4680b3a406 Added UIClip and ClipType. New clipping options for UINode. CSS property "clip" now allows: "none", "padding-box", "content-box" and "border-box". Allowing more precise clipping for each UINode.
Replaced all clipEnable and clipDisable calls in favor of setClipType.
UINode::draw now does not call drawBackground and drawSkin. Both functions now are called separately before the draw call.
Input: fixed WindowClose and Quit event report (Quit won't trigger onClose).
ecode: Code clean up, added TerminalManager. Fixed some minor bugs.
2022-07-18 01:44:34 -03:00
Martín Lucas Golini
38bb518bd3 UIWidget: Added virtual function "acceptsDropOfWidget" and "acceptsDropOfWidgetInTree". Added UI_TOOLTIP_ENABLED that allows to enable/disable tooltips in an element. Added functions: "isTooltipEnabled" and "setTooltipEnabled".
UITabWidget: Added support to draggable object hovering highlight color.
UICodeEditor: fixed vertical scroll.
Added UIRoot class, that represents the root (":root") element of the scene node.
2022-06-04 00:33:17 -03:00
Martín Lucas Golini
c754eb4ba6 Added tabbar-allow-switch-tabs-in-empty-spaces property to UITabWidget. 2022-06-03 19:02:09 -03:00
Martín Lucas Golini
835dc3a55a Added shorthand: min-size and max-size.
SyntaxDefinitionManager: Improved JSON.
breeze theme improvements.
ecode: Added mime-type icons (using nonicons).
2022-06-01 01:21:21 -03:00
Martín Lucas Golini
cdcf7b76aa WIP: breeze light colors.
Added prefers-color-scheme and pixel-density media queries.
Added support to :not(:state). This is not part of the CSS specification, but it's useful.
2022-03-21 20:57:05 -03:00
Martín Lucas Golini
7565831301 Updated doxyrest to support newer sphinx versions. 2022-03-11 11:51:07 -03:00
Martín Lucas Golini
1250fc9972 Added UIListView.
UIFileDialog now uses UIListView.
UITreeView/UITableView/UIListView allow selecting row by writing its name.
Styling fixes.
2020-08-18 00:35:01 -03:00
Martín Lucas Golini
98ef562440 Renamed UITable to UIWidgetTable and UITableCell to UIWidgetTableRow.
Minor improvements to UIFileDialog.
Added "Open Folder" and "Recent Folders" to ecode.
2020-07-26 23:17:52 -03:00
Martín Lucas Golini
ad4e4b5367 Minor improvements to UITreeView and related views.
Also improved UISplitter.
Improved side panel in ecode.
2020-07-20 00:34:40 -03:00
Martín Lucas Golini
6885e34572 Added support to move Tabs from one UITabWidget to another using the onDrop API. 2020-06-18 05:33:21 -03:00
Martín Lucas Golini
651039b0e8 Redesigning UITextInput and all the derivatives to use TextDocument. 2020-06-15 01:44:29 -03:00
Martín Lucas Golini
c408491633 Minor refactor and UISplitter improvements.
Improved dragging.
UITab now supports close button and proper close control (user can deny the close request).
UITabWidget now allows to rearrange the tabs in the tab bar.
2020-06-05 04:52:33 -03:00
Martín Lucas Golini
4b2f431630 Minor clean up and fixes. 2020-05-30 23:21:11 -03:00
Martín Lucas Golini
aa9202e8b7 More work into supporting pure CSS themes.
Fixed a bug where dirty polygons were unreported.
UISceneNodes now are updated forcing the current UISceneNode as the one that it's being updated.
Added "poly" function for background/foreground images.
Added "tab-height" and "window-title" CSS properties.
2020-04-11 05:42:49 -03:00
Martín Lucas Golini
e48b77ddfc Several fixes to allow Widgets to work without skins and enable pure CSS themes.
Added String::contains.
Improved Vector2.
Improved Text::findCharacterFromPos.
Improved set minimum widget size.
Improved var() parsing.
2020-04-09 05:20:55 -03:00
Martín Lucas Golini
887d2f331d Improved access to the inner widgets from CSS.
Minor fix in docs Makefile.
Minor fix in keyboard shortcuts.
2020-04-06 03:07:56 -03:00
Martín Lucas Golini
75d940da8f More documentation fixes. 2020-04-05 20:24:37 -03:00
Martín Lucas Golini
ffc8fd3953 More code clean up and continued with the CSS Specification documentation. 2020-04-05 04:22:34 -03:00
Martín Lucas Golini
9a43551b6b More CSS specification clean up and improvements.
UIPushButton refactorization.
Fixed crash on tooltip close.
And several minor changes to adapt the CSS specification changes into the widgets.
2020-04-04 02:43:19 -03:00
Martín Lucas Golini
6259ca5fb8 More clean up and documentation, this time for: UITabWidget, UITab, UISpinBox and UIPushButton. 2020-04-02 04:18:11 -03:00
Martín Lucas Golini
cd306cc2e6 More general UI code clean up and documentation. 2020-03-31 22:49:09 -03:00
Martín Lucas Golini
b13793e99c More work on the CSS Specification. Some specification changes were made. 2020-03-30 04:33:51 -03:00
Martín Lucas Golini
7677435de5 Minor refactor.
More work on the CSS specification doc.
2020-03-29 04:47:11 -03:00
Martín Lucas Golini
c1904dd01d CSS Specification doc WIP. 2020-03-28 05:37:53 -03:00
Martín Lucas Golini
04c407077f Several improvements in the CSS Animations.
UITabWidget now acts as a draw invalidator, skipping the draw invalidation if the element invalidating is not visible in the current tab.
premake5 file now supports different architectures.
Updated README.md and docs.
Minor fixes in UIColorPicker.
Updated SOIL2 and efsw.
Added LICENSE file.
2020-02-25 01:15:27 -03:00
Martín Lucas Golini
48d0f06b2b Started implementation of CSS Animations, WIP. 2020-02-18 03:58:58 -03:00
Martín Lucas Golini
89df736630 premake5.lua: replaced includedirs with sysincludedirs that should work better in some cases.
Reformated README.md.
Docs improvements.
2020-01-18 05:37:52 -03:00
Martín Lucas Golini
0f61c3fa96 Minor changes in how the library is presented. 2020-01-15 18:29:23 -03:00
Martín Lucas Golini
317ed08625 Added new example: UI Hello World.
Added new markdown document with the UI Basics explanation.
Fixed some minor bugs in UIPushButton.
Added new Event: OnFontStyleChanged.

--HG--
branch : dev
2020-01-13 02:26:28 -03:00
Martín Lucas Golini
9c7837bc01 Added more padding to TrueType glyphs.
Updated dr_libs libraries.
URI now uses implicit constructors.
Improved documentation.

--HG--
branch : dev
2020-01-12 22:37:43 -03:00
Martín Lucas Golini
f60d4c183e clang-formated all project source files.
Improved documentation.

--HG--
branch : dev
2020-01-10 04:39:46 -03:00