From 07b61818a9627c5196ba73ba461c82e4fd241208 Mon Sep 17 00:00:00 2001
From: Gabriel Machado <97042217+GabrielBRDeveloper@users.noreply.github.com>
Date: Sat, 20 Jul 2024 23:31:05 -0400
Subject: [PATCH] Reorganize Project Structure (#8)
* separate core and engine
* Recreate MANIFEST.MF
* Remove some resiliente files
* Fix github build
---
.github/build.sh | 10 +-
.github/workflows/build-linux.yml | 9 +-
.idea/artifacts/MasterUI_jar.xml | 17 -
.idea/artifacts/core_jar.xml | 10 +
.idea/artifacts/texel_jar.xml | 18 +
.idea/libraries/lib.xml | 12 -
.idea/libraries/texel_libs.xml | 12 +
.idea/modules.xml | 3 +-
MasterUI.iml | 1 -
build.properties | 3 +
build.xml | 284 ++++++++----
{assets => core/assets}/README.txt | 0
core/core.iml | 13 +
.../res}/drawable/button_background.xml | 0
.../res}/drawable/default_window_icon.xml | 0
.../res}/drawable/menu_background.xml | 0
.../res}/drawable/menu_item_background.xml | 0
.../res}/drawable/scrollbar_thumb.xml | 0
.../res}/drawable/switch_background.xml | 0
{res => core/res}/drawable/test_path.xml | 0
.../res}/drawable/textarea_background.xml | 0
core/res/ex-layout/main.xml | 61 +++
{res => core/res}/font/roboto.xml | 0
{res => core/res}/fonts/MaterialIcons/LICENSE | 0
.../MaterialIcons/MaterialIcons-Regular.ttf | Bin
.../res}/fonts/MaterialIcons/icons.codepoints | 0
{res => core/res}/fonts/Roboto/LICENSE.txt | 404 +++++++++---------
.../res}/fonts/Roboto/Roboto-Bold.ttf | Bin
.../res}/fonts/Roboto/Roboto-BoldItalic.ttf | Bin
.../res}/fonts/Roboto/Roboto-Italic.ttf | Bin
.../res}/fonts/Roboto/Roboto-Regular.ttf | Bin
.../res}/layout/default_widget_menu_item.xml | 0
{res => core/res}/layout/example_list.xml | 0
{res => core/res}/layout/text.xml | 0
{res => core/res}/style/defaults.xml | 0
core/src/META-INF/MANIFEST.MF | 3 +
.../native-image/resource-config.json | 0
{src => core/src}/br/nullexcept/mux/C.java | 0
.../src}/br/nullexcept/mux/app/Activity.java | 0
.../br/nullexcept/mux/app/ActivityStack.java | 0
.../src}/br/nullexcept/mux/app/Applet.java | 0
.../br/nullexcept/mux/app/Application.java | 0
.../src}/br/nullexcept/mux/app/Context.java | 0
.../br/nullexcept/mux/app/CoreBoostrap.java | 0
.../src}/br/nullexcept/mux/app/Launch.java | 0
.../src}/br/nullexcept/mux/app/Looper.java | 0
.../src}/br/nullexcept/mux/app/Project.java | 0
.../src}/br/nullexcept/mux/app/Service.java | 0
.../br/nullexcept/mux/app/WindowState.java | 0
.../mux/app/applets/ClipboardApplet.java | 0
.../mux/app/applets/DisplayApplet.java | 0
.../br/nullexcept/mux/graphics/Bitmap.java | 0
.../mux/graphics/BitmapFactory.java | 0
.../br/nullexcept/mux/graphics/Canvas.java | 0
.../br/nullexcept/mux/graphics/Color.java | 0
.../mux/graphics/ColorStateList.java | 0
.../br/nullexcept/mux/graphics/Drawable.java | 0
.../br/nullexcept/mux/graphics/Paint.java | 0
.../src}/br/nullexcept/mux/graphics/Path.java | 0
.../br/nullexcept/mux/graphics/Point.java | 0
.../br/nullexcept/mux/graphics/PointF.java | 0
.../src}/br/nullexcept/mux/graphics/Rect.java | 0
.../src}/br/nullexcept/mux/graphics/Size.java | 0
.../br/nullexcept/mux/graphics/StateList.java | 0
.../mux/graphics/drawable/BitmapDrawable.java | 0
.../mux/graphics/drawable/ColorDrawable.java | 0
.../graphics/drawable/LayerListDrawable.java | 0
.../drawable/MaterialIconDrawable.java | 0
.../graphics/drawable/NinePathDrawable.java | 0
.../mux/graphics/drawable/PathDrawable.java | 0
.../graphics/drawable/SelectorDrawable.java | 0
.../mux/graphics/drawable/ShapeDrawable.java | 0
.../mux/graphics/fonts/FontMetrics.java | 0
.../mux/graphics/fonts/Typeface.java | 0
.../mux/graphics/fonts/TypefaceFactory.java | 0
.../mux/graphics/shape/OvalShape.java | 0
.../mux/graphics/shape/RectShape.java | 0
.../mux/graphics/shape/RoundedShape.java | 0
.../nullexcept/mux/graphics/shape/Shape.java | 0
.../mux/graphics/shape/ShapeList.java | 0
.../br/nullexcept/mux/input/CharEvent.java | 0
.../src}/br/nullexcept/mux/input/Event.java | 0
.../br/nullexcept/mux/input/InputDevice.java | 0
.../br/nullexcept/mux/input/InputEvent.java | 0
.../br/nullexcept/mux/input/InputSource.java | 0
.../br/nullexcept/mux/input/KeyEvent.java | 0
.../br/nullexcept/mux/input/MotionEvent.java | 0
.../br/nullexcept/mux/input/MouseEvent.java | 0
.../src}/br/nullexcept/mux/lang/Bindable.java | 0
.../br/nullexcept/mux/lang/Disposable.java | 0
.../src}/br/nullexcept/mux/lang/Function.java | 0
.../br/nullexcept/mux/lang/Function2.java | 0
.../src}/br/nullexcept/mux/lang/Parcel.java | 0
.../src}/br/nullexcept/mux/lang/Promise.java | 0
.../src}/br/nullexcept/mux/lang/Task.java | 0
.../src}/br/nullexcept/mux/lang/Valuable.java | 0
.../nullexcept/mux/lang/ValuedFunction.java | 0
.../nullexcept/mux/lang/xml/XmlElement.java | 0
.../br/nullexcept/mux/res/AssetsManager.java | 0
.../br/nullexcept/mux/res/AttributeList.java | 0
.../mux/res/DisplayInformation.java | 0
.../mux/res/FallbackAttributes.java | 0
.../nullexcept/mux/res/FallbackLanguage.java | 0
.../br/nullexcept/mux/res/LayoutInflater.java | 0
.../br/nullexcept/mux/res/MenuInflater.java | 0
.../src}/br/nullexcept/mux/res/Parser.java | 13 +-
.../br/nullexcept/mux/res/ResourceCache.java | 0
.../src}/br/nullexcept/mux/res/Resources.java | 2 -
.../br/nullexcept/mux/res/StylePreset.java | 0
.../src}/br/nullexcept/mux/text/Editable.java | 0
.../mux/text/OnTextChangedListener.java | 0
.../br/nullexcept/mux/text/Selection.java | 0
.../br/nullexcept/mux/text/TextLayout.java | 0
.../br/nullexcept/mux/utils/BufferUtils.java | 0
.../nullexcept/mux/utils/LinearAnimation.java | 0
.../src}/br/nullexcept/mux/utils/Log.java | 0
.../src}/br/nullexcept/mux/view/AttrList.java | 0
.../src}/br/nullexcept/mux/view/Gravity.java | 0
.../mux/view/MarginLayoutParams.java | 0
.../br/nullexcept/mux/view/PointerIcon.java | 0
.../src}/br/nullexcept/mux/view/View.java | 0
.../br/nullexcept/mux/view/ViewGroup.java | 0
.../src}/br/nullexcept/mux/view/ViewRoot.java | 0
.../src}/br/nullexcept/mux/view/Window.java | 0
.../mux/view/anim/AlphaAnimation.java | 0
.../mux/view/anim/AnimationCallback.java | 0
.../mux/view/anim/RotationAnimation.java | 0
.../mux/view/anim/TransitionAttr.java | 0
.../mux/view/anim/ViewTransition.java | 0
.../nullexcept/mux/view/menu/MenuGroup.java | 0
.../br/nullexcept/mux/view/menu/MenuItem.java | 0
.../nullexcept/mux/widget/AbsoluteLayout.java | 0
.../src}/br/nullexcept/mux/widget/Button.java | 0
.../br/nullexcept/mux/widget/CardLayout.java | 0
.../br/nullexcept/mux/widget/EditText.java | 0
.../br/nullexcept/mux/widget/FrameLayout.java | 0
.../mux/widget/HardwareSurface.java | 0
.../br/nullexcept/mux/widget/ImageView.java | 0
.../nullexcept/mux/widget/LinearLayout.java | 0
.../br/nullexcept/mux/widget/ScrollView.java | 0
.../src}/br/nullexcept/mux/widget/Switch.java | 0
.../br/nullexcept/mux/widget/TextView.java | 0
res/ex-layout/main.xml | 60 ---
src/META-INF/MANIFEST.MF | 2 -
{lib => texel/libs}/lwjgl-egl.jar | Bin
{lib => texel/libs}/lwjgl-glfw.jar | Bin
{lib => texel/libs}/lwjgl-nanovg.jar | Bin
{lib => texel/libs}/lwjgl-opengles.jar | Bin
{lib => texel/libs}/lwjgl.jar | Bin
.../natives/lwjgl-glfw-natives-linux.jar | Bin
.../natives/lwjgl-nanovg-natives-linux.jar | Bin
.../libs}/natives/lwjgl-natives-linux.jar | Bin
.../natives/lwjgl-opengles-natives-linux.jar | Bin
{res => texel/res}/raw/view_renderer.frag | 0
{res => texel/res}/raw/view_renderer.vert | 0
.../nullexcept/mux/core}/hardware/GLES.java | 0
.../br/nullexcept/mux/core}/test/Example.java | 13 +-
.../mux/core/texel/CanvasTexel.java | 0
.../mux/core/texel/GLFramebuffer.java | 0
.../nullexcept/mux/core/texel/GLProgram.java | 0
.../mux/core/texel/GLProgramTexture.java | 0
.../mux/core/texel/GLProgramView.java | 0
.../mux/core/texel/GLShaderList.java | 0
.../br/nullexcept/mux/core/texel/GLTexel.java | 0
.../nullexcept/mux/core/texel/GLTexture.java | 0
.../nullexcept/mux/core/texel/GlesUtils.java | 0
.../mux/core/texel/GlfwApplets.java | 0
.../mux/core/texel/GlfwEventManager.java | 0
.../nullexcept/mux/core/texel/GlfwWindow.java | 0
.../nullexcept/mux/core/texel/MenuLayout.java | 0
.../mux/core/texel/RenderCache.java | 0
.../nullexcept/mux/core/texel/TexelAPI.java | 0
.../mux/core/texel/TexelBitmap.java | 0
.../mux/core/texel/TexelBitmapFactory.java | 0
.../nullexcept/mux/core/texel/TexelFont.java | 0
.../mux/core/texel/TexelFontFactory.java | 0
.../mux/core/texel/TexelFontMetrics.java | 0
.../mux/core/texel/TexelProject.java | 0
.../br/nullexcept/mux/core/texel/VgTexel.java | 0
.../mux/core/texel/ViewRenderer.java | 0
.../mux/core/texel/WindowContainer.java | 0
.../src}/org/lwjgl/nanovg/NanoVGGLConfig.java | 0
texel/texel.iml | 15 +
183 files changed, 567 insertions(+), 398 deletions(-)
delete mode 100644 .idea/artifacts/MasterUI_jar.xml
create mode 100644 .idea/artifacts/core_jar.xml
create mode 100644 .idea/artifacts/texel_jar.xml
delete mode 100644 .idea/libraries/lib.xml
create mode 100644 .idea/libraries/texel_libs.xml
rename {assets => core/assets}/README.txt (100%)
create mode 100644 core/core.iml
rename {res => core/res}/drawable/button_background.xml (100%)
rename {res => core/res}/drawable/default_window_icon.xml (100%)
rename {res => core/res}/drawable/menu_background.xml (100%)
rename {res => core/res}/drawable/menu_item_background.xml (100%)
rename {res => core/res}/drawable/scrollbar_thumb.xml (100%)
rename {res => core/res}/drawable/switch_background.xml (100%)
rename {res => core/res}/drawable/test_path.xml (100%)
rename {res => core/res}/drawable/textarea_background.xml (100%)
create mode 100644 core/res/ex-layout/main.xml
rename {res => core/res}/font/roboto.xml (100%)
rename {res => core/res}/fonts/MaterialIcons/LICENSE (100%)
rename {res => core/res}/fonts/MaterialIcons/MaterialIcons-Regular.ttf (100%)
rename {res => core/res}/fonts/MaterialIcons/icons.codepoints (100%)
rename {res => core/res}/fonts/Roboto/LICENSE.txt (98%)
rename {res => core/res}/fonts/Roboto/Roboto-Bold.ttf (100%)
rename {res => core/res}/fonts/Roboto/Roboto-BoldItalic.ttf (100%)
rename {res => core/res}/fonts/Roboto/Roboto-Italic.ttf (100%)
rename {res => core/res}/fonts/Roboto/Roboto-Regular.ttf (100%)
rename {res => core/res}/layout/default_widget_menu_item.xml (100%)
rename {res => core/res}/layout/example_list.xml (100%)
rename {res => core/res}/layout/text.xml (100%)
rename {res => core/res}/style/defaults.xml (100%)
create mode 100644 core/src/META-INF/MANIFEST.MF
rename {src => core/src}/META-INF/native-image/resource-config.json (100%)
rename {src => core/src}/br/nullexcept/mux/C.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/Activity.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/ActivityStack.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/Applet.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/Application.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/Context.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/CoreBoostrap.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/Launch.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/Looper.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/Project.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/Service.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/WindowState.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/applets/ClipboardApplet.java (100%)
rename {src => core/src}/br/nullexcept/mux/app/applets/DisplayApplet.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/Bitmap.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/BitmapFactory.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/Canvas.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/Color.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/ColorStateList.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/Drawable.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/Paint.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/Path.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/Point.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/PointF.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/Rect.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/Size.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/StateList.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/drawable/BitmapDrawable.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/drawable/ColorDrawable.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/drawable/LayerListDrawable.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/drawable/MaterialIconDrawable.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/drawable/NinePathDrawable.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/drawable/PathDrawable.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/drawable/SelectorDrawable.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/drawable/ShapeDrawable.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/fonts/FontMetrics.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/fonts/Typeface.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/fonts/TypefaceFactory.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/shape/OvalShape.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/shape/RectShape.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/shape/RoundedShape.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/shape/Shape.java (100%)
rename {src => core/src}/br/nullexcept/mux/graphics/shape/ShapeList.java (100%)
rename {src => core/src}/br/nullexcept/mux/input/CharEvent.java (100%)
rename {src => core/src}/br/nullexcept/mux/input/Event.java (100%)
rename {src => core/src}/br/nullexcept/mux/input/InputDevice.java (100%)
rename {src => core/src}/br/nullexcept/mux/input/InputEvent.java (100%)
rename {src => core/src}/br/nullexcept/mux/input/InputSource.java (100%)
rename {src => core/src}/br/nullexcept/mux/input/KeyEvent.java (100%)
rename {src => core/src}/br/nullexcept/mux/input/MotionEvent.java (100%)
rename {src => core/src}/br/nullexcept/mux/input/MouseEvent.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/Bindable.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/Disposable.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/Function.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/Function2.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/Parcel.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/Promise.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/Task.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/Valuable.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/ValuedFunction.java (100%)
rename {src => core/src}/br/nullexcept/mux/lang/xml/XmlElement.java (100%)
rename {src => core/src}/br/nullexcept/mux/res/AssetsManager.java (100%)
rename {src => core/src}/br/nullexcept/mux/res/AttributeList.java (100%)
rename {src => core/src}/br/nullexcept/mux/res/DisplayInformation.java (100%)
rename {src => core/src}/br/nullexcept/mux/res/FallbackAttributes.java (100%)
rename {src => core/src}/br/nullexcept/mux/res/FallbackLanguage.java (100%)
rename {src => core/src}/br/nullexcept/mux/res/LayoutInflater.java (100%)
rename {src => core/src}/br/nullexcept/mux/res/MenuInflater.java (100%)
rename {src => core/src}/br/nullexcept/mux/res/Parser.java (97%)
rename {src => core/src}/br/nullexcept/mux/res/ResourceCache.java (100%)
rename {src => core/src}/br/nullexcept/mux/res/Resources.java (99%)
rename {src => core/src}/br/nullexcept/mux/res/StylePreset.java (100%)
rename {src => core/src}/br/nullexcept/mux/text/Editable.java (100%)
rename {src => core/src}/br/nullexcept/mux/text/OnTextChangedListener.java (100%)
rename {src => core/src}/br/nullexcept/mux/text/Selection.java (100%)
rename {src => core/src}/br/nullexcept/mux/text/TextLayout.java (100%)
rename {src => core/src}/br/nullexcept/mux/utils/BufferUtils.java (100%)
rename {src => core/src}/br/nullexcept/mux/utils/LinearAnimation.java (100%)
rename {src => core/src}/br/nullexcept/mux/utils/Log.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/AttrList.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/Gravity.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/MarginLayoutParams.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/PointerIcon.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/View.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/ViewGroup.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/ViewRoot.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/Window.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/anim/AlphaAnimation.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/anim/AnimationCallback.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/anim/RotationAnimation.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/anim/TransitionAttr.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/anim/ViewTransition.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/menu/MenuGroup.java (100%)
rename {src => core/src}/br/nullexcept/mux/view/menu/MenuItem.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/AbsoluteLayout.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/Button.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/CardLayout.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/EditText.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/FrameLayout.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/HardwareSurface.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/ImageView.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/LinearLayout.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/ScrollView.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/Switch.java (100%)
rename {src => core/src}/br/nullexcept/mux/widget/TextView.java (100%)
delete mode 100644 res/ex-layout/main.xml
delete mode 100644 src/META-INF/MANIFEST.MF
rename {lib => texel/libs}/lwjgl-egl.jar (100%)
rename {lib => texel/libs}/lwjgl-glfw.jar (100%)
rename {lib => texel/libs}/lwjgl-nanovg.jar (100%)
rename {lib => texel/libs}/lwjgl-opengles.jar (100%)
rename {lib => texel/libs}/lwjgl.jar (100%)
rename {lib => texel/libs}/natives/lwjgl-glfw-natives-linux.jar (100%)
rename {lib => texel/libs}/natives/lwjgl-nanovg-natives-linux.jar (100%)
rename {lib => texel/libs}/natives/lwjgl-natives-linux.jar (100%)
rename {lib => texel/libs}/natives/lwjgl-opengles-natives-linux.jar (100%)
rename {res => texel/res}/raw/view_renderer.frag (100%)
rename {res => texel/res}/raw/view_renderer.vert (100%)
rename {src/br/nullexcept/mux => texel/src/br/nullexcept/mux/core}/hardware/GLES.java (100%)
rename {src/br/nullexcept/mux => texel/src/br/nullexcept/mux/core}/test/Example.java (63%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/CanvasTexel.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GLFramebuffer.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GLProgram.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GLProgramTexture.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GLProgramView.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GLShaderList.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GLTexel.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GLTexture.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GlesUtils.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GlfwApplets.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GlfwEventManager.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/GlfwWindow.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/MenuLayout.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/RenderCache.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/TexelAPI.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/TexelBitmap.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/TexelBitmapFactory.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/TexelFont.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/TexelFontFactory.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/TexelFontMetrics.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/TexelProject.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/VgTexel.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/ViewRenderer.java (100%)
rename {src => texel/src}/br/nullexcept/mux/core/texel/WindowContainer.java (100%)
rename {src => texel/src}/org/lwjgl/nanovg/NanoVGGLConfig.java (100%)
create mode 100644 texel/texel.iml
diff --git a/.github/build.sh b/.github/build.sh
index 4c3a2a6..fa2b3cd 100644
--- a/.github/build.sh
+++ b/.github/build.sh
@@ -1,12 +1,12 @@
#!/bin/bash
echo "Deleting redundant files"
-rm -r res/layout/example_list.xml
-rm -r res/layout/main.xml
-rm -r res/layout/text.xml
+rm -r core/res/layout/example_list.xml
+rm -r core/res/layout/main.xml
+rm -r core/res/layout/text.xml
-rm -r src/br/nullexcept/mux/test
-rm src/META-INF/MANIFEST.MF
+rm -r texel/src/br/nullexcept/mux/test
+rm core/src/META-INF/MANIFEST.MF
echo "Building..."
diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml
index 3110c05..272899f 100644
--- a/.github/workflows/build-linux.yml
+++ b/.github/workflows/build-linux.yml
@@ -21,8 +21,13 @@ jobs:
run: chmod +x .github/build.sh
- name: Build project
run: .github/build.sh
+ - name: Upload Core
+ uses: actions/upload-artifact@v4
+ with:
+ name: MasterUI ( Core )
+ path: ./out/artifacts/core/core.jar
- name: Upload
uses: actions/upload-artifact@v4
with:
- name: MasterUI-Linux
- path: ./out/artifacts/MasterUI/MasterUI.jar
+ name: MasterUI ( Texel )
+ path: ./out/artifacts/texel/texel.jar
diff --git a/.idea/artifacts/MasterUI_jar.xml b/.idea/artifacts/MasterUI_jar.xml
deleted file mode 100644
index 2315fc8..0000000
--- a/.idea/artifacts/MasterUI_jar.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- $PROJECT_DIR$/out/artifacts/MasterUI-Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/core_jar.xml b/.idea/artifacts/core_jar.xml
new file mode 100644
index 0000000..1b29aa5
--- /dev/null
+++ b/.idea/artifacts/core_jar.xml
@@ -0,0 +1,10 @@
+
+
+ $PROJECT_DIR$/out/artifacts/core_jar
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/artifacts/texel_jar.xml b/.idea/artifacts/texel_jar.xml
new file mode 100644
index 0000000..e857764
--- /dev/null
+++ b/.idea/artifacts/texel_jar.xml
@@ -0,0 +1,18 @@
+
+
+ $PROJECT_DIR$/out/artifacts/texel_jar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/lib.xml b/.idea/libraries/lib.xml
deleted file mode 100644
index dabe520..0000000
--- a/.idea/libraries/lib.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/texel_libs.xml b/.idea/libraries/texel_libs.xml
new file mode 100644
index 0000000..9c9725a
--- /dev/null
+++ b/.idea/libraries/texel_libs.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 7150b86..1695394 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,7 +2,8 @@
-
+
+
\ No newline at end of file
diff --git a/MasterUI.iml b/MasterUI.iml
index 26b2bb5..f75a8a9 100644
--- a/MasterUI.iml
+++ b/MasterUI.iml
@@ -13,6 +13,5 @@
-
\ No newline at end of file
diff --git a/build.properties b/build.properties
index e69de29..d58fdf6 100644
--- a/build.properties
+++ b/build.properties
@@ -0,0 +1,3 @@
+path.variable.kotlin_bundled=/home/gabriel/Programas/IntellJ/plugins/Kotlin/kotlinc
+path.variable.maven_repository=/home/gabriel/.m2/repository
+jdk.home.1.8=/usr/lib/jvm/java-8-openjdk-amd64
\ No newline at end of file
diff --git a/build.xml b/build.xml
index 592f8b2..5d26b9f 100644
--- a/build.xml
+++ b/build.xml
@@ -25,8 +25,6 @@
-
-
@@ -34,13 +32,13 @@
+
-
@@ -55,14 +53,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
@@ -70,135 +98,247 @@
-
+
-
+
+
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
+
+
-
-
-
+
+
+
-
-
-
-
+
+
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
+
+
+
+
diff --git a/assets/README.txt b/core/assets/README.txt
similarity index 100%
rename from assets/README.txt
rename to core/assets/README.txt
diff --git a/core/core.iml b/core/core.iml
new file mode 100644
index 0000000..3eafd18
--- /dev/null
+++ b/core/core.iml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/res/drawable/button_background.xml b/core/res/drawable/button_background.xml
similarity index 100%
rename from res/drawable/button_background.xml
rename to core/res/drawable/button_background.xml
diff --git a/res/drawable/default_window_icon.xml b/core/res/drawable/default_window_icon.xml
similarity index 100%
rename from res/drawable/default_window_icon.xml
rename to core/res/drawable/default_window_icon.xml
diff --git a/res/drawable/menu_background.xml b/core/res/drawable/menu_background.xml
similarity index 100%
rename from res/drawable/menu_background.xml
rename to core/res/drawable/menu_background.xml
diff --git a/res/drawable/menu_item_background.xml b/core/res/drawable/menu_item_background.xml
similarity index 100%
rename from res/drawable/menu_item_background.xml
rename to core/res/drawable/menu_item_background.xml
diff --git a/res/drawable/scrollbar_thumb.xml b/core/res/drawable/scrollbar_thumb.xml
similarity index 100%
rename from res/drawable/scrollbar_thumb.xml
rename to core/res/drawable/scrollbar_thumb.xml
diff --git a/res/drawable/switch_background.xml b/core/res/drawable/switch_background.xml
similarity index 100%
rename from res/drawable/switch_background.xml
rename to core/res/drawable/switch_background.xml
diff --git a/res/drawable/test_path.xml b/core/res/drawable/test_path.xml
similarity index 100%
rename from res/drawable/test_path.xml
rename to core/res/drawable/test_path.xml
diff --git a/res/drawable/textarea_background.xml b/core/res/drawable/textarea_background.xml
similarity index 100%
rename from res/drawable/textarea_background.xml
rename to core/res/drawable/textarea_background.xml
diff --git a/core/res/ex-layout/main.xml b/core/res/ex-layout/main.xml
new file mode 100644
index 0000000..2e38ea4
--- /dev/null
+++ b/core/res/ex-layout/main.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/res/font/roboto.xml b/core/res/font/roboto.xml
similarity index 100%
rename from res/font/roboto.xml
rename to core/res/font/roboto.xml
diff --git a/res/fonts/MaterialIcons/LICENSE b/core/res/fonts/MaterialIcons/LICENSE
similarity index 100%
rename from res/fonts/MaterialIcons/LICENSE
rename to core/res/fonts/MaterialIcons/LICENSE
diff --git a/res/fonts/MaterialIcons/MaterialIcons-Regular.ttf b/core/res/fonts/MaterialIcons/MaterialIcons-Regular.ttf
similarity index 100%
rename from res/fonts/MaterialIcons/MaterialIcons-Regular.ttf
rename to core/res/fonts/MaterialIcons/MaterialIcons-Regular.ttf
diff --git a/res/fonts/MaterialIcons/icons.codepoints b/core/res/fonts/MaterialIcons/icons.codepoints
similarity index 100%
rename from res/fonts/MaterialIcons/icons.codepoints
rename to core/res/fonts/MaterialIcons/icons.codepoints
diff --git a/res/fonts/Roboto/LICENSE.txt b/core/res/fonts/Roboto/LICENSE.txt
similarity index 98%
rename from res/fonts/Roboto/LICENSE.txt
rename to core/res/fonts/Roboto/LICENSE.txt
index 75b5248..d645695 100644
--- a/res/fonts/Roboto/LICENSE.txt
+++ b/core/res/fonts/Roboto/LICENSE.txt
@@ -1,202 +1,202 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/res/fonts/Roboto/Roboto-Bold.ttf b/core/res/fonts/Roboto/Roboto-Bold.ttf
similarity index 100%
rename from res/fonts/Roboto/Roboto-Bold.ttf
rename to core/res/fonts/Roboto/Roboto-Bold.ttf
diff --git a/res/fonts/Roboto/Roboto-BoldItalic.ttf b/core/res/fonts/Roboto/Roboto-BoldItalic.ttf
similarity index 100%
rename from res/fonts/Roboto/Roboto-BoldItalic.ttf
rename to core/res/fonts/Roboto/Roboto-BoldItalic.ttf
diff --git a/res/fonts/Roboto/Roboto-Italic.ttf b/core/res/fonts/Roboto/Roboto-Italic.ttf
similarity index 100%
rename from res/fonts/Roboto/Roboto-Italic.ttf
rename to core/res/fonts/Roboto/Roboto-Italic.ttf
diff --git a/res/fonts/Roboto/Roboto-Regular.ttf b/core/res/fonts/Roboto/Roboto-Regular.ttf
similarity index 100%
rename from res/fonts/Roboto/Roboto-Regular.ttf
rename to core/res/fonts/Roboto/Roboto-Regular.ttf
diff --git a/res/layout/default_widget_menu_item.xml b/core/res/layout/default_widget_menu_item.xml
similarity index 100%
rename from res/layout/default_widget_menu_item.xml
rename to core/res/layout/default_widget_menu_item.xml
diff --git a/res/layout/example_list.xml b/core/res/layout/example_list.xml
similarity index 100%
rename from res/layout/example_list.xml
rename to core/res/layout/example_list.xml
diff --git a/res/layout/text.xml b/core/res/layout/text.xml
similarity index 100%
rename from res/layout/text.xml
rename to core/res/layout/text.xml
diff --git a/res/style/defaults.xml b/core/res/style/defaults.xml
similarity index 100%
rename from res/style/defaults.xml
rename to core/res/style/defaults.xml
diff --git a/core/src/META-INF/MANIFEST.MF b/core/src/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..f496bd9
--- /dev/null
+++ b/core/src/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Main-Class:
+
diff --git a/src/META-INF/native-image/resource-config.json b/core/src/META-INF/native-image/resource-config.json
similarity index 100%
rename from src/META-INF/native-image/resource-config.json
rename to core/src/META-INF/native-image/resource-config.json
diff --git a/src/br/nullexcept/mux/C.java b/core/src/br/nullexcept/mux/C.java
similarity index 100%
rename from src/br/nullexcept/mux/C.java
rename to core/src/br/nullexcept/mux/C.java
diff --git a/src/br/nullexcept/mux/app/Activity.java b/core/src/br/nullexcept/mux/app/Activity.java
similarity index 100%
rename from src/br/nullexcept/mux/app/Activity.java
rename to core/src/br/nullexcept/mux/app/Activity.java
diff --git a/src/br/nullexcept/mux/app/ActivityStack.java b/core/src/br/nullexcept/mux/app/ActivityStack.java
similarity index 100%
rename from src/br/nullexcept/mux/app/ActivityStack.java
rename to core/src/br/nullexcept/mux/app/ActivityStack.java
diff --git a/src/br/nullexcept/mux/app/Applet.java b/core/src/br/nullexcept/mux/app/Applet.java
similarity index 100%
rename from src/br/nullexcept/mux/app/Applet.java
rename to core/src/br/nullexcept/mux/app/Applet.java
diff --git a/src/br/nullexcept/mux/app/Application.java b/core/src/br/nullexcept/mux/app/Application.java
similarity index 100%
rename from src/br/nullexcept/mux/app/Application.java
rename to core/src/br/nullexcept/mux/app/Application.java
diff --git a/src/br/nullexcept/mux/app/Context.java b/core/src/br/nullexcept/mux/app/Context.java
similarity index 100%
rename from src/br/nullexcept/mux/app/Context.java
rename to core/src/br/nullexcept/mux/app/Context.java
diff --git a/src/br/nullexcept/mux/app/CoreBoostrap.java b/core/src/br/nullexcept/mux/app/CoreBoostrap.java
similarity index 100%
rename from src/br/nullexcept/mux/app/CoreBoostrap.java
rename to core/src/br/nullexcept/mux/app/CoreBoostrap.java
diff --git a/src/br/nullexcept/mux/app/Launch.java b/core/src/br/nullexcept/mux/app/Launch.java
similarity index 100%
rename from src/br/nullexcept/mux/app/Launch.java
rename to core/src/br/nullexcept/mux/app/Launch.java
diff --git a/src/br/nullexcept/mux/app/Looper.java b/core/src/br/nullexcept/mux/app/Looper.java
similarity index 100%
rename from src/br/nullexcept/mux/app/Looper.java
rename to core/src/br/nullexcept/mux/app/Looper.java
diff --git a/src/br/nullexcept/mux/app/Project.java b/core/src/br/nullexcept/mux/app/Project.java
similarity index 100%
rename from src/br/nullexcept/mux/app/Project.java
rename to core/src/br/nullexcept/mux/app/Project.java
diff --git a/src/br/nullexcept/mux/app/Service.java b/core/src/br/nullexcept/mux/app/Service.java
similarity index 100%
rename from src/br/nullexcept/mux/app/Service.java
rename to core/src/br/nullexcept/mux/app/Service.java
diff --git a/src/br/nullexcept/mux/app/WindowState.java b/core/src/br/nullexcept/mux/app/WindowState.java
similarity index 100%
rename from src/br/nullexcept/mux/app/WindowState.java
rename to core/src/br/nullexcept/mux/app/WindowState.java
diff --git a/src/br/nullexcept/mux/app/applets/ClipboardApplet.java b/core/src/br/nullexcept/mux/app/applets/ClipboardApplet.java
similarity index 100%
rename from src/br/nullexcept/mux/app/applets/ClipboardApplet.java
rename to core/src/br/nullexcept/mux/app/applets/ClipboardApplet.java
diff --git a/src/br/nullexcept/mux/app/applets/DisplayApplet.java b/core/src/br/nullexcept/mux/app/applets/DisplayApplet.java
similarity index 100%
rename from src/br/nullexcept/mux/app/applets/DisplayApplet.java
rename to core/src/br/nullexcept/mux/app/applets/DisplayApplet.java
diff --git a/src/br/nullexcept/mux/graphics/Bitmap.java b/core/src/br/nullexcept/mux/graphics/Bitmap.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/Bitmap.java
rename to core/src/br/nullexcept/mux/graphics/Bitmap.java
diff --git a/src/br/nullexcept/mux/graphics/BitmapFactory.java b/core/src/br/nullexcept/mux/graphics/BitmapFactory.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/BitmapFactory.java
rename to core/src/br/nullexcept/mux/graphics/BitmapFactory.java
diff --git a/src/br/nullexcept/mux/graphics/Canvas.java b/core/src/br/nullexcept/mux/graphics/Canvas.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/Canvas.java
rename to core/src/br/nullexcept/mux/graphics/Canvas.java
diff --git a/src/br/nullexcept/mux/graphics/Color.java b/core/src/br/nullexcept/mux/graphics/Color.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/Color.java
rename to core/src/br/nullexcept/mux/graphics/Color.java
diff --git a/src/br/nullexcept/mux/graphics/ColorStateList.java b/core/src/br/nullexcept/mux/graphics/ColorStateList.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/ColorStateList.java
rename to core/src/br/nullexcept/mux/graphics/ColorStateList.java
diff --git a/src/br/nullexcept/mux/graphics/Drawable.java b/core/src/br/nullexcept/mux/graphics/Drawable.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/Drawable.java
rename to core/src/br/nullexcept/mux/graphics/Drawable.java
diff --git a/src/br/nullexcept/mux/graphics/Paint.java b/core/src/br/nullexcept/mux/graphics/Paint.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/Paint.java
rename to core/src/br/nullexcept/mux/graphics/Paint.java
diff --git a/src/br/nullexcept/mux/graphics/Path.java b/core/src/br/nullexcept/mux/graphics/Path.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/Path.java
rename to core/src/br/nullexcept/mux/graphics/Path.java
diff --git a/src/br/nullexcept/mux/graphics/Point.java b/core/src/br/nullexcept/mux/graphics/Point.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/Point.java
rename to core/src/br/nullexcept/mux/graphics/Point.java
diff --git a/src/br/nullexcept/mux/graphics/PointF.java b/core/src/br/nullexcept/mux/graphics/PointF.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/PointF.java
rename to core/src/br/nullexcept/mux/graphics/PointF.java
diff --git a/src/br/nullexcept/mux/graphics/Rect.java b/core/src/br/nullexcept/mux/graphics/Rect.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/Rect.java
rename to core/src/br/nullexcept/mux/graphics/Rect.java
diff --git a/src/br/nullexcept/mux/graphics/Size.java b/core/src/br/nullexcept/mux/graphics/Size.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/Size.java
rename to core/src/br/nullexcept/mux/graphics/Size.java
diff --git a/src/br/nullexcept/mux/graphics/StateList.java b/core/src/br/nullexcept/mux/graphics/StateList.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/StateList.java
rename to core/src/br/nullexcept/mux/graphics/StateList.java
diff --git a/src/br/nullexcept/mux/graphics/drawable/BitmapDrawable.java b/core/src/br/nullexcept/mux/graphics/drawable/BitmapDrawable.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/drawable/BitmapDrawable.java
rename to core/src/br/nullexcept/mux/graphics/drawable/BitmapDrawable.java
diff --git a/src/br/nullexcept/mux/graphics/drawable/ColorDrawable.java b/core/src/br/nullexcept/mux/graphics/drawable/ColorDrawable.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/drawable/ColorDrawable.java
rename to core/src/br/nullexcept/mux/graphics/drawable/ColorDrawable.java
diff --git a/src/br/nullexcept/mux/graphics/drawable/LayerListDrawable.java b/core/src/br/nullexcept/mux/graphics/drawable/LayerListDrawable.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/drawable/LayerListDrawable.java
rename to core/src/br/nullexcept/mux/graphics/drawable/LayerListDrawable.java
diff --git a/src/br/nullexcept/mux/graphics/drawable/MaterialIconDrawable.java b/core/src/br/nullexcept/mux/graphics/drawable/MaterialIconDrawable.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/drawable/MaterialIconDrawable.java
rename to core/src/br/nullexcept/mux/graphics/drawable/MaterialIconDrawable.java
diff --git a/src/br/nullexcept/mux/graphics/drawable/NinePathDrawable.java b/core/src/br/nullexcept/mux/graphics/drawable/NinePathDrawable.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/drawable/NinePathDrawable.java
rename to core/src/br/nullexcept/mux/graphics/drawable/NinePathDrawable.java
diff --git a/src/br/nullexcept/mux/graphics/drawable/PathDrawable.java b/core/src/br/nullexcept/mux/graphics/drawable/PathDrawable.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/drawable/PathDrawable.java
rename to core/src/br/nullexcept/mux/graphics/drawable/PathDrawable.java
diff --git a/src/br/nullexcept/mux/graphics/drawable/SelectorDrawable.java b/core/src/br/nullexcept/mux/graphics/drawable/SelectorDrawable.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/drawable/SelectorDrawable.java
rename to core/src/br/nullexcept/mux/graphics/drawable/SelectorDrawable.java
diff --git a/src/br/nullexcept/mux/graphics/drawable/ShapeDrawable.java b/core/src/br/nullexcept/mux/graphics/drawable/ShapeDrawable.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/drawable/ShapeDrawable.java
rename to core/src/br/nullexcept/mux/graphics/drawable/ShapeDrawable.java
diff --git a/src/br/nullexcept/mux/graphics/fonts/FontMetrics.java b/core/src/br/nullexcept/mux/graphics/fonts/FontMetrics.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/fonts/FontMetrics.java
rename to core/src/br/nullexcept/mux/graphics/fonts/FontMetrics.java
diff --git a/src/br/nullexcept/mux/graphics/fonts/Typeface.java b/core/src/br/nullexcept/mux/graphics/fonts/Typeface.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/fonts/Typeface.java
rename to core/src/br/nullexcept/mux/graphics/fonts/Typeface.java
diff --git a/src/br/nullexcept/mux/graphics/fonts/TypefaceFactory.java b/core/src/br/nullexcept/mux/graphics/fonts/TypefaceFactory.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/fonts/TypefaceFactory.java
rename to core/src/br/nullexcept/mux/graphics/fonts/TypefaceFactory.java
diff --git a/src/br/nullexcept/mux/graphics/shape/OvalShape.java b/core/src/br/nullexcept/mux/graphics/shape/OvalShape.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/shape/OvalShape.java
rename to core/src/br/nullexcept/mux/graphics/shape/OvalShape.java
diff --git a/src/br/nullexcept/mux/graphics/shape/RectShape.java b/core/src/br/nullexcept/mux/graphics/shape/RectShape.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/shape/RectShape.java
rename to core/src/br/nullexcept/mux/graphics/shape/RectShape.java
diff --git a/src/br/nullexcept/mux/graphics/shape/RoundedShape.java b/core/src/br/nullexcept/mux/graphics/shape/RoundedShape.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/shape/RoundedShape.java
rename to core/src/br/nullexcept/mux/graphics/shape/RoundedShape.java
diff --git a/src/br/nullexcept/mux/graphics/shape/Shape.java b/core/src/br/nullexcept/mux/graphics/shape/Shape.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/shape/Shape.java
rename to core/src/br/nullexcept/mux/graphics/shape/Shape.java
diff --git a/src/br/nullexcept/mux/graphics/shape/ShapeList.java b/core/src/br/nullexcept/mux/graphics/shape/ShapeList.java
similarity index 100%
rename from src/br/nullexcept/mux/graphics/shape/ShapeList.java
rename to core/src/br/nullexcept/mux/graphics/shape/ShapeList.java
diff --git a/src/br/nullexcept/mux/input/CharEvent.java b/core/src/br/nullexcept/mux/input/CharEvent.java
similarity index 100%
rename from src/br/nullexcept/mux/input/CharEvent.java
rename to core/src/br/nullexcept/mux/input/CharEvent.java
diff --git a/src/br/nullexcept/mux/input/Event.java b/core/src/br/nullexcept/mux/input/Event.java
similarity index 100%
rename from src/br/nullexcept/mux/input/Event.java
rename to core/src/br/nullexcept/mux/input/Event.java
diff --git a/src/br/nullexcept/mux/input/InputDevice.java b/core/src/br/nullexcept/mux/input/InputDevice.java
similarity index 100%
rename from src/br/nullexcept/mux/input/InputDevice.java
rename to core/src/br/nullexcept/mux/input/InputDevice.java
diff --git a/src/br/nullexcept/mux/input/InputEvent.java b/core/src/br/nullexcept/mux/input/InputEvent.java
similarity index 100%
rename from src/br/nullexcept/mux/input/InputEvent.java
rename to core/src/br/nullexcept/mux/input/InputEvent.java
diff --git a/src/br/nullexcept/mux/input/InputSource.java b/core/src/br/nullexcept/mux/input/InputSource.java
similarity index 100%
rename from src/br/nullexcept/mux/input/InputSource.java
rename to core/src/br/nullexcept/mux/input/InputSource.java
diff --git a/src/br/nullexcept/mux/input/KeyEvent.java b/core/src/br/nullexcept/mux/input/KeyEvent.java
similarity index 100%
rename from src/br/nullexcept/mux/input/KeyEvent.java
rename to core/src/br/nullexcept/mux/input/KeyEvent.java
diff --git a/src/br/nullexcept/mux/input/MotionEvent.java b/core/src/br/nullexcept/mux/input/MotionEvent.java
similarity index 100%
rename from src/br/nullexcept/mux/input/MotionEvent.java
rename to core/src/br/nullexcept/mux/input/MotionEvent.java
diff --git a/src/br/nullexcept/mux/input/MouseEvent.java b/core/src/br/nullexcept/mux/input/MouseEvent.java
similarity index 100%
rename from src/br/nullexcept/mux/input/MouseEvent.java
rename to core/src/br/nullexcept/mux/input/MouseEvent.java
diff --git a/src/br/nullexcept/mux/lang/Bindable.java b/core/src/br/nullexcept/mux/lang/Bindable.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/Bindable.java
rename to core/src/br/nullexcept/mux/lang/Bindable.java
diff --git a/src/br/nullexcept/mux/lang/Disposable.java b/core/src/br/nullexcept/mux/lang/Disposable.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/Disposable.java
rename to core/src/br/nullexcept/mux/lang/Disposable.java
diff --git a/src/br/nullexcept/mux/lang/Function.java b/core/src/br/nullexcept/mux/lang/Function.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/Function.java
rename to core/src/br/nullexcept/mux/lang/Function.java
diff --git a/src/br/nullexcept/mux/lang/Function2.java b/core/src/br/nullexcept/mux/lang/Function2.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/Function2.java
rename to core/src/br/nullexcept/mux/lang/Function2.java
diff --git a/src/br/nullexcept/mux/lang/Parcel.java b/core/src/br/nullexcept/mux/lang/Parcel.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/Parcel.java
rename to core/src/br/nullexcept/mux/lang/Parcel.java
diff --git a/src/br/nullexcept/mux/lang/Promise.java b/core/src/br/nullexcept/mux/lang/Promise.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/Promise.java
rename to core/src/br/nullexcept/mux/lang/Promise.java
diff --git a/src/br/nullexcept/mux/lang/Task.java b/core/src/br/nullexcept/mux/lang/Task.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/Task.java
rename to core/src/br/nullexcept/mux/lang/Task.java
diff --git a/src/br/nullexcept/mux/lang/Valuable.java b/core/src/br/nullexcept/mux/lang/Valuable.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/Valuable.java
rename to core/src/br/nullexcept/mux/lang/Valuable.java
diff --git a/src/br/nullexcept/mux/lang/ValuedFunction.java b/core/src/br/nullexcept/mux/lang/ValuedFunction.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/ValuedFunction.java
rename to core/src/br/nullexcept/mux/lang/ValuedFunction.java
diff --git a/src/br/nullexcept/mux/lang/xml/XmlElement.java b/core/src/br/nullexcept/mux/lang/xml/XmlElement.java
similarity index 100%
rename from src/br/nullexcept/mux/lang/xml/XmlElement.java
rename to core/src/br/nullexcept/mux/lang/xml/XmlElement.java
diff --git a/src/br/nullexcept/mux/res/AssetsManager.java b/core/src/br/nullexcept/mux/res/AssetsManager.java
similarity index 100%
rename from src/br/nullexcept/mux/res/AssetsManager.java
rename to core/src/br/nullexcept/mux/res/AssetsManager.java
diff --git a/src/br/nullexcept/mux/res/AttributeList.java b/core/src/br/nullexcept/mux/res/AttributeList.java
similarity index 100%
rename from src/br/nullexcept/mux/res/AttributeList.java
rename to core/src/br/nullexcept/mux/res/AttributeList.java
diff --git a/src/br/nullexcept/mux/res/DisplayInformation.java b/core/src/br/nullexcept/mux/res/DisplayInformation.java
similarity index 100%
rename from src/br/nullexcept/mux/res/DisplayInformation.java
rename to core/src/br/nullexcept/mux/res/DisplayInformation.java
diff --git a/src/br/nullexcept/mux/res/FallbackAttributes.java b/core/src/br/nullexcept/mux/res/FallbackAttributes.java
similarity index 100%
rename from src/br/nullexcept/mux/res/FallbackAttributes.java
rename to core/src/br/nullexcept/mux/res/FallbackAttributes.java
diff --git a/src/br/nullexcept/mux/res/FallbackLanguage.java b/core/src/br/nullexcept/mux/res/FallbackLanguage.java
similarity index 100%
rename from src/br/nullexcept/mux/res/FallbackLanguage.java
rename to core/src/br/nullexcept/mux/res/FallbackLanguage.java
diff --git a/src/br/nullexcept/mux/res/LayoutInflater.java b/core/src/br/nullexcept/mux/res/LayoutInflater.java
similarity index 100%
rename from src/br/nullexcept/mux/res/LayoutInflater.java
rename to core/src/br/nullexcept/mux/res/LayoutInflater.java
diff --git a/src/br/nullexcept/mux/res/MenuInflater.java b/core/src/br/nullexcept/mux/res/MenuInflater.java
similarity index 100%
rename from src/br/nullexcept/mux/res/MenuInflater.java
rename to core/src/br/nullexcept/mux/res/MenuInflater.java
diff --git a/src/br/nullexcept/mux/res/Parser.java b/core/src/br/nullexcept/mux/res/Parser.java
similarity index 97%
rename from src/br/nullexcept/mux/res/Parser.java
rename to core/src/br/nullexcept/mux/res/Parser.java
index 9ab6344..c6c5ceb 100644
--- a/src/br/nullexcept/mux/res/Parser.java
+++ b/core/src/br/nullexcept/mux/res/Parser.java
@@ -2,7 +2,6 @@
import br.nullexcept.mux.graphics.*;
import br.nullexcept.mux.graphics.drawable.*;
-import br.nullexcept.mux.graphics.fonts.Typeface;
import br.nullexcept.mux.graphics.shape.OvalShape;
import br.nullexcept.mux.graphics.shape.RectShape;
import br.nullexcept.mux.graphics.shape.RoundedShape;
@@ -10,13 +9,7 @@
import br.nullexcept.mux.utils.Log;
import br.nullexcept.mux.view.AttrList;
import br.nullexcept.mux.view.Gravity;
-import org.lwjgl.nanovg.NSVGImage;
-import org.lwjgl.nanovg.NSVGPath;
-import org.lwjgl.nanovg.NSVGShape;
-import org.lwjgl.nanovg.NanoSVG;
-import java.nio.FloatBuffer;
-import java.util.ArrayList;
import java.util.HashMap;
class Parser {
@@ -175,8 +168,7 @@ private static Drawable inflateXmlDrawable(Resources res, XmlElement xml) {
}
private static Path parseVectorPath(String src, int w, int h) {
-
- String code =
+ /*String code =
"