Commit Graph

204 Commits

Author SHA1 Message Date
Martín Lucas Golini
b9037e3cb5 A few adjustments in the HTTP request. 2024-11-29 21:33:42 -03:00
Martín Lucas Golini
cec4c39dbb Add a new example of how to create a custom widget. 2024-10-27 03:43:06 -03:00
Martín Lucas Golini
9ccd774bb0 Some minor optimizations. 2024-10-26 01:21:39 -03:00
Martín Lucas Golini
be303f65f6 Should fix windows build. 2024-10-20 14:29:41 -03:00
Martín Lucas Golini
2c617b1deb RegEx support in TextDocument search. Added RegEx support to ecode's Find & Replace. 2024-09-22 02:16:15 -03:00
Martín Lucas Golini
4d0da818c0 Small improvements in breadcrumb. Minor refactor of EventDispatcher::getMousePos. 2024-09-11 20:27:14 -03:00
Martín Lucas Golini
8d172f3eb7 Unregister view from model on view destructor.
Minor refactor in http_request demo.
2024-07-04 20:22:57 -03:00
Martín Lucas Golini
3bed787795 More improvements for text shaping. 2024-06-14 02:23:53 -03:00
Martín Lucas Golini
8991a089fc eterm clean up. 2024-03-15 20:22:15 -03:00
Martín Lucas Golini
4687b46917 Added an option to disable static build from build scripts 2024-02-28 20:27:11 -03:00
Martín Lucas Golini
d276aa5bc7 Improve UICheckBox in different pixel densities.
Improve stylesheet units printing.
Added `dpr` as device-pixel rounded stylesheet length unit.
Fixes in 7GUIs Cells.
2024-02-20 00:34:52 -03:00
Martín Lucas Golini
36c91989d3 Lambda captures clean up, plus other minor clean ups. 2024-02-17 18:19:55 -03:00
Martín Lucas Golini
b2a5b37802 Improve the cells demo a little bit. Fix reactivity. 2024-02-17 00:41:16 -03:00
Martín Lucas Golini
a40bee583b Implemented row header for TableView.
Added shorthands for border-left, border-right, border-top, border-bottom.
2024-02-16 21:17:26 -03:00
Martín Lucas Golini
eccf1f1cba Optimize UITableView and UITreeView by only allocating as many cells as needed to cover the viewport. 2024-02-11 13:45:18 -03:00
Martín Lucas Golini
0a23b3682b Silence warning. 2024-02-10 19:46:30 -03:00
Martín Lucas Golini
cb3a6691ed Fixed bug un UISceneNode.
Minor fixes in 7GUIs Cells.
2024-02-10 19:03:09 -03:00
Martín Lucas Golini
7e3ac9eb9b Should fix build.. 2024-02-10 17:29:07 -03:00
Martín Lucas Golini
6e93132108 UIScrollableWidget added horizontal scrolling.
UIAbstractTableView and UIAbstractView some minor changes.
7GUIs Cells WIP.
2024-02-10 15:48:52 -03:00
Martín Lucas Golini
9c2822e3d6 More work to get better i18n support. 2024-02-09 22:39:19 -03:00
Martín Lucas Golini
f875672a3d Implemented UndoStack.
7GUIs Circle Drawer now uses the new UndoStack.
2024-02-09 02:26:51 -03:00
Martín Lucas Golini
2541dccfc9 7GUIs circle drawer WIP.
UILoader rendering glitch fix.
Git create branch fix checkout in subrepos.
UIMessageBox don't focus on any disabled input by default.
2024-02-08 22:25:18 -03:00
Martín Lucas Golini
997fe458b3 Fix indirect memory leak on VertexBufferVBO.
Added a few icons.
Tried to detect a bug on the terminal emulator.
Fixed Git status when file has been renamed.
2024-02-05 22:03:39 -03:00
Martín Lucas Golini
37140d9f80 Added 7GUIs CRUD example.
Fixes in ModelSelection.
2024-02-05 02:37:41 -03:00
Martín Lucas Golini
5d320186b5 Added 7GUIs Timer.
Fixes in UIProgressBar.
Fix build.
2024-02-04 23:37:07 -03:00
Martín Lucas Golini
bb26ac4706 Added UIApplication class to easily initialize GUI Applications.
Addind 7GUIs examples (https://eugenkiss.github.io/7guis/). Currently implemented the first three: Counter, Temperature Converter and Flight Booker.
Fixes in IgnoreMatcher and ProjectDirectoryTree.
Window::runMainLoop now accepts an std::function<void()>, this allows to use lambdas with captures.
UITextInput when using only numbers allow to insert + and - at the beggining of the number.
Return Node* on Node::setFocus().
String::fromFloat and String::fromDouble will shrink the number as much as possible (delete extra 0 and .).
2024-02-04 22:01:32 -03:00
Martín Lucas Golini
f6738cf79d ecode: Fix memory leak on theme change. 2024-01-02 22:31:05 -03:00
Martín Lucas Golini
cc62ec5790 ecode:
Improved drastically UIBorderDrawable performance.
Added Event::OnItemValueChange event and ItemValueEvent.
Added i18n function to UIWidget.
Remamed Node::addMouseClickListener to Node::onClick.
Added UI_SCROLLABLE flag and UINode::isScrollable to indicate if the widget implements some scrolling function and now UIScrollView will check if it can scroll by checking if the widget over is scrollable or not.
UISceneNode now implements loadLayoutFromString with const char* to avoid unnecessary std::string allocations.
Several fixes in UIListBox and UIDropDownList.
ecode:
Continued working on UIBuildSettings screen and Project Build configuration.
2023-06-01 02:32:03 -03:00
Martín Lucas Golini
7670795075 eepp: Some code refactoring regarding the TextureFactory. Also renamed some functions with incorrect naming.
ecode: Plugins are now hot-reloaded when a its configuration file is being written.
2023-03-29 01:13:46 -03:00
Martín Lucas Golini
21240d9af9 Added Sys::which.
ecode: Added support for more LSP servers: Kotlin, Nim, Ruby, YAML. Added "Format Document" option in editor's context menu (when available).
2023-01-15 16:37:16 -03:00
Martín Lucas Golini
16890cae6c Physics module now is an optional module.
Fixed Android build.
ecode: Added Help -> Check for Updates. Added "Rosé Pine" terminal color scheme.
2023-01-15 04:08:29 -03:00
Martín Lucas Golini
b1d6fcd635 A couple of minor fixes. 2022-12-30 01:01:34 -03:00
Martín Lucas Golini
075b7d9968 Added CSS3 colors to Color class.
Improved emscripten build.
Cleaned up some warnings.
ecode: resetSyntax on file move.
2022-10-17 01:50:53 -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
1678fd9b53 Fixed TextDocument::deleteCurrentLine().
Minor clean up in various apps and classes (nothing important).
2022-07-24 21:44:29 -03:00
Martín Lucas Golini
6ffda35039 UICodeEditorSplitter: several fixes and added some sanity checks for debug builds.
ecode: Some minor fixes.
2022-06-11 02:39:27 -03:00
Martín Lucas Golini
3b4fba4099 Changed BlendMode pre-loaded modes. Now they are a function, since they could be used before the memory initialization provoking errors in emscripten.
GLES2 is now the default renderer for emscripten.
Fixed several rendering issues with GLES2 as WebGL (point sprites, bad states).
Fixed chipmunk in emscripten.
Improved debugging for emscripten debug builds.
2022-06-09 20:22:48 -03:00
Martín Lucas Golini
2fb07e09aa Minor clean up. 2022-05-25 21:34:09 -03:00
Martín Lucas Golini
e26d9cceff Added support for non-colored emoji fonts. 2022-03-03 21:43:36 -03:00
Martín Lucas Golini
5a23e5faf9 Fixed Text::setFillColor with color emojis. 2022-03-01 15:25:51 -03:00
Martín Lucas Golini
5440a2ef77 Some minor fixes and improvements to FontTrueType. 2022-02-10 01:38:26 -03:00
Martín Lucas Golini
623490bc72 Emoji support improvements. 2022-02-09 02:51:33 -03:00
Martín Lucas Golini
7a221d19c1 First steps in supporting color fonts.
Some minor fixes to build with emscripten.
2022-02-08 03:06:35 -03:00
Martín Lucas Golini
6fb24fe918 GCC11 compitatibility fix.
HTTPStreamChunked fix.
Respect https scheme on http_request example.
2021-07-03 13:13:35 -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
ed289b5ec6 More improvements to the text document and code editor.
The current working directory is not forced anymore (except for Android), since it can cause some troubles in certain situations.
2020-05-27 05:28:35 -03:00
Martín Lucas Golini
2c05f3f579 Added CodeEditor project to be able to test comfortably the UICodeEditor and the TextDocument.
Renamed Window::setCaption to Window::setTitle.
Several fixes in TextDocument.
2020-05-24 04:14:52 -03:00
Martín Lucas Golini
94a2e4a0c3 Syntax Highlighting working.
Some minor refactor.
2020-05-23 23:41:06 -03:00
Martín Lucas Golini
d95f2d8944 Syntax Highlighting WIP. 2020-05-23 06:17:56 -03:00
Martín Lucas Golini
67b163d515 More fixes and improvements to the UICodeEditor. Added optional display of line numbers. 2020-05-22 17:25:24 -03:00