Commit Graph

195 Commits

Author SHA1 Message Date
Martín Lucas Golini
07381c5943 Added basic linter support for ecode. 2020-12-21 03:01:07 -03:00
Martín Lucas Golini
fcd68131e3 Added UIStackWidget.
Added UIMultiModelView.
Some minor fixes for UIAbstractView and derivatives.
ecode:
Added shortcut to switch visibility of the side panel.
Changing mono font now does not require to restart the application.
2020-11-15 03:20:09 -03:00
Martín Lucas Golini
544ea80828 Tab Bar is now scrollable.
Some minor bug fixes.
2020-10-17 22:54:38 -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
a5a55481dc Very minor improvements to the table header column icon. 2020-08-17 01:29:50 -03:00
Martín Lucas Golini
8f430076ef Added SortingProxyModel to allow sorting tables by column.
Some minor improvements to ecode.
Added "delete-current-line" to text document.
2020-08-13 02:22:17 -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
dce9f1c285 Improvements and fixes for FileSystemModel, ProjectDirectoryTree, FileInfo and more. 2020-07-26 15:08:11 -03:00
Martín Lucas Golini
3da95eb5f7 Implemented UITableView.
Added project locate file in ecode (still needs work).
Several fixes and improvements.
2020-07-26 03:02:01 -03:00
Martín Lucas Golini
54d520dba6 UITreeView improvements.
Added Drawable::getPixelsSize.
Improved UIPushButton.
2020-07-23 01:40:14 -03:00
Martín Lucas Golini
b6f2106f06 Renamed FileSystem::dirPathAddSlashAtEnd to FileSystem::dirAddSlashAtEnd.
Added FileInfo.
2020-07-12 01:27:33 -03:00
Martín Lucas Golini
7accb1c296 Several fixes and optimizations for the UITreeView. 2020-07-11 04:58:13 -03:00
Martín Lucas Golini
62814d8cc6 More WIP, some minor changes.
Important fix in Color::toHexString().
2020-07-10 03:15:45 -03:00
Martín Lucas Golini
0df1a1b1f8 More WIP. 2020-07-07 21:22:05 -03:00
Martín Lucas Golini
1be31595d3 More WIP. 2020-07-05 16:36:09 -03:00
Martín Lucas Golini
92a89abb65 Fixes and improvements for the windows build. 2020-07-02 16:47:19 -03:00
Martín Lucas Golini
b916517fd1 Added basic module support for the UICodeEditor.
Code Editor auto-complete support WIP.
2020-07-01 05:28:24 -03:00
Martín Lucas Golini
2b5454b041 Small fix in the syntax tokenizer.
Fix in the key events received by the UICodeEditor.
Reimplemented TextDocument::insert to improve performance.
Dragged Tab relative position fix.
Removed incorrect KeyDown event.
Minor UI tweaks.
2020-06-27 06:54:22 -03:00
Martín Lucas Golini
60a7a28b28 Added support for range based searches in the TextDocument and Code Editor.
Total refactor of the Code Editor.
Many many minor changes and fixes, still needs more testing.
2020-06-26 06:32:33 -03:00
Martín Lucas Golini
f880a32a02 More improvements to the Code Editor. 2020-06-25 02:18:08 -03:00
Martín Lucas Golini
c92e048021 Minor optimizations for the StyleSheetParser.
Added more menus for the Code Editor.
Code Editor now saves the basic configuration.
Renamed NodeMessage::Click to NodeMessage::MouseClick and NodeMessage::DoubleClick to NodeMessage::MouseDoubleClick to maintain consistency.
Optimized String::split.
And also some other minor improvements.
2020-06-24 16:42:19 -03:00
Martín Lucas Golini
99ee9743bc Allow to set the background of the color scheme style.
Syntax Definition minor changes.
2020-06-23 20:43:26 -03:00
Martín Lucas Golini
e0a34bec5a Improved and simplified how the menus and sub-menus interact and behave.
Fixed code editor find and replace editor focus.
2020-06-23 05:33:07 -03:00
Martín Lucas Golini
17bc4d4a6d Added support for text styling in syntax color schemes, you can now: bold, italic, underline, strikethrough and shadow texts. 2020-06-22 01:17:28 -03:00
Martín Lucas Golini
7c22a09567 Improved white space rendering in UICodeEditor. 2020-06-20 05:02:07 -03:00
Martín Lucas Golini
2a500e56b9 Implemented UIIconTeme and UIIconThemeManager, now the icon searches are using these new classes. 2020-06-19 04:58:00 -03:00
Martín Lucas Golini
7de3420a9f Minor change in the syntax tokenizer to support "^" from the patterns.
Added diff file support.
Added UIMenuRadioButton.
Added support to shortcut/keybinding text display in UIMenuItem.
Improved UIMenuBar and UITouchDraggableWidget.
2020-06-18 02:56:27 -03:00
Martín Lucas Golini
abc47067a4 Minor code editor fixes.
Improved touch dragging.
Minor API change in UIMenu::add*.
Updated the README.md.
Added TODO.md (to keep track on the things I want to improve/implement).
2020-06-17 03:49:12 -03:00
Martín Lucas Golini
4f6e73b0a5 UITextEdit now extends from UICodeEditor.
Added support for horizontal scrollbar on UICodeEditor and by extension UITextEdit.
Renamed String::toStr to String::toString.
2020-06-16 04:26:46 -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
b9c0a44395 Minor fixes in syntax definitions.
Minor fixes in breeze theme.
Allow to set the pixel density in the code editor.
2020-06-14 05:33:26 -03:00
Martín Lucas Golini
9c4f24c3cb Added Window::hasFocus(), Window::hasInputFocus() and Window::hasMouseFocus().
Fixed an issue when widgets were created during an layout update.
Some minor improvements to the Code Editor.
2020-06-10 04:12:08 -03:00
Martín Lucas Golini
bd9170baee Added color picking capability in the UICodeEditor.
Some minor improvements to the code editor.
Some minor fixes.
2020-06-08 05:25:57 -03:00
Martín Lucas Golini
0f2b726662 Added find/replace to the code editor.
General clean up on Scene::Node.
Several minor fixes related to the keyboard navigation.
2020-06-07 06:06:32 -03:00
Martín Lucas Golini
b953c7d3c1 Added switch between splits (prev/next) in Code Editor.
Added highlight to matching brackets in UICodeEditor.
Added selection match highlight in UICodeEditor.
Improved text selection when selecting tabs (\t) in UICodeEditor.
Added load color schemes from config files.
Added loadFromMemory and loadFromPack to TextDocument.
Added color schemes to the Code Editor.
2020-06-06 05:41:23 -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
951d7b2e7e Renamed UITabWidget "TabContainer" to "TabBar".
Added UITabWidget::set/getHideWhenNotNeeded to hide the TabBar if only 1 tab is available.
UIStyle now restricts the animations in the first onStateChange received (sin there's no previous state to animate from).
Added UISplitter::swap.
Critical fix in Node::setParent.
Added Node::findByType.
Fixed Code Editor splitting.
Minor improvements in Code Editor.
2020-06-04 19:00:58 -03:00
Martín Lucas Golini
56f79a6dfd UISplitter WIP. 2020-06-01 05:30:16 -03:00
Martín Lucas Golini
4b2f431630 Minor clean up and fixes. 2020-05-30 23:21:11 -03:00
Martín Lucas Golini
e45c813e53 Renamed UIWinMenu to UIMenuBar. 2020-05-30 21:03:25 -03:00
Martín Lucas Golini
3304fb5f31 Improved the SyntaxColorScheme configuration.
Also a minor fix in the breeze theme.
2020-05-28 02:32:47 -03:00
Martín Lucas Golini
a9fb27f31d Minor fixes on Text and TextEdit. 2020-05-12 16:43:22 -03:00
Martín Lucas Golini
730d0ff30b Avoid creating a VertexBuffer for UIBackgroundDrawables with no radius.
EventDispatcher: Double click is only valid if the second click is near the first one.
Added Input events for file drop and text drop.
InputTextBuffer allows to paste over selected text.
2020-05-10 05:42:12 -03:00
Martín Lucas Golini
87e3d64b63 Added renamed Display::getPixelDensity() to Display::getPixelDensitySize() and now Display::getPixelDensity() returns the float value of the pixel density.
Moved the global test to tests/test_all.
Added a ui_perf_test used to test specific performance issues in the UI.
Fixed the element/widget inline style (now respects the specificity).
Some optimizations in UIListBox.
2020-05-03 03:39:31 -03:00
Martín Lucas Golini
16db174e48 API changes:
LayoutSizeRule is now SizePolicy.
LayoutPositionRule is now PositionPolicy.
get/setLayoutSizeRules is now get/setLayoutSizePolicy.
get/setLayoutPositionRule is now get/setLayoutPositionPolicy.
Added Engine::isThreaded().

Minor emscripten fix.
Added emscripten-fs.html, a simple script loader to test the build emscripten demos.
2020-05-02 23:15:47 -03:00
Martín Lucas Golini
0207180e0e Fixes in UITextEdit.
Some minor performance improvements in the PropertyDefinition class.
Breeze theme improvements.
And some other minor changes.
2020-04-29 03:37:05 -03:00
Martín Lucas Golini
21d952c18b min-width, min-height, max-width and max-height fixes.
UITooltip in debug mode fixes.
Improved breeze theme.
2020-04-27 04:45:49 -03:00
Martín Lucas Golini
c893e05cde Several fixes. 2020-04-26 04:56:50 -03:00
Martín Lucas Golini
3ff44da4af Minor changes. 2020-04-26 01:04:39 -03:00
Martín Lucas Golini
397d96d7d7 Fixed input hints and input password text alignment. 2020-04-26 00:03:15 -03:00