Commit Graph

524 Commits

Author SHA1 Message Date
9fcdfdaf92 [Editor] Improve XML and Java syntax highlighting 2021-03-15 23:38:08 +01:00
9932d0fd85 [Editor] Improve XML syntax highlighting 2021-03-15 22:52:27 +01:00
8230f9806d [Editor] Implement XML base syntax highlighting 2021-03-15 22:24:55 +01:00
86bc5bb01c [Editor] Improve WidgetAsset - replace widget editor tab name with actual widget name 2021-03-15 18:19:59 +01:00
c8a8cd99c6 [Editor] Enable creating Widgets in Editor
The Editor does not yet support XML syntax highlighting (the Java highlighter is used as temporary replacement), also the tab name of widget asset shows the actual file name (composed of UID) instead of the asset name provided by user.
2021-03-15 18:02:56 +01:00
fef7b88a51 [Editor] Fix not closing input stream when using FileNode's readText() method 2021-03-15 18:01:45 +01:00
4a4be81a99 Enable providing Context and GUI via constructor in Component Inflater 2021-03-15 16:05:16 +01:00
c92c4f31a7 Create working scaffolding of Component Inflater 2021-03-15 14:37:30 +01:00
449278b3cf Add support for GUI image flags 2021-03-14 23:21:12 +01:00
3aac855fea Add support for Paint which includes gradients and images in GUI 2021-03-14 22:51:33 +01:00
1d8660ba7d Create support for NVG Colors 2021-03-14 19:41:26 +01:00
47cb04c9d1 Refactor NanoVGGUI - prepare to support NVGPaint and images 2021-03-14 13:24:33 +01:00
79286bbf53 Create ByteBufferAssetManager 2021-03-14 11:30:29 +01:00
4cc7b15f8e Perform a little refactor of VOptionChoice 2021-03-14 10:43:56 +01:00
9a7216ad34 Refactor BaseWindow 2021-03-13 23:40:05 +01:00
3f78ecdcee Create Label component 2021-03-13 23:37:44 +01:00
dfa07781f7 Fix iterators in WindowsManager and GLFWInput which didn't allow to remove items from loops 2021-03-13 14:42:30 +01:00
d063679c3a Refactor Window Manager and fix invalid top window pointer 2021-03-13 14:13:29 +01:00
d149187bc8 Create basic option choice layouts 2021-03-13 12:37:28 +01:00
f05158093a Add support for component focus and blur 2021-03-13 12:36:47 +01:00
68e0a793aa Add support for key event handling in GUI 2021-03-13 11:22:48 +01:00
5cb9e9fb75 Remove InputManager 2021-03-13 10:39:27 +01:00
5573024d4e Create Input model 2021-03-12 23:20:10 +01:00
30c8252dd2 Refactor AnimatedSprite | make animation stop when engine is paused 2021-03-12 20:35:42 +01:00
8e5e2da0f9 Refactor com.bartlomiejpluta.base.{project,context} packages 2021-03-12 19:24:11 +01:00
f17ce55882 Create API for pausing and stopping game engine 2021-03-12 18:36:16 +01:00
73de1f0985 Move the Context creation to the App engine starting point | change GLFW Window title to project name 2021-03-12 15:05:04 +01:00
cafad00389 Add support for windows positions 2021-03-12 10:48:22 +01:00
ff5bb33059 Create scaffolding for Window API | fix some positioning issues in BaseComponent 2021-03-11 23:40:16 +01:00
bebec73956 Create scaffolding for Window API | fix some positioning issues in BaseComponent 2021-03-11 23:21:31 +01:00
acf8023fe0 Add support for SLF4J logging in :api 2021-03-11 20:33:10 +01:00
03a9253ca3 Refactor Context and GameRunner 2021-03-11 20:24:34 +01:00
7c6824284a Enable 'var', 'true' and 'false' keywords highlighting in Java editor 2021-03-11 19:13:37 +01:00
0a9bd87c29 Create ScreenWidget - a screen aware parent of root widget 2021-03-11 19:10:13 +01:00
b80632c705 Delegate some extra methods from NanoVG to GUI 2021-03-11 18:52:07 +01:00
cbd35c5c37 Create Size Mode which includes modes: NORMAL, WRAP_CONTENT and MATCH_PARENT 2021-03-11 13:19:06 +01:00
d3d440e588 Refactor com.bartlomiejpluta.base.api.gui package 2021-03-11 12:17:58 +01:00
54d428245f Create some GUI text methods 2021-03-11 11:26:31 +01:00
f7bed7a045 Enable displaying text 2021-03-11 09:28:22 +01:00
efa43f0eb0 Enable loading fonts to GUI 2021-03-10 23:54:40 +01:00
e0ae21a899 Refactor Widget 2021-03-10 22:13:35 +01:00
6a3ae8447e Create basic GUI components 2021-03-10 22:03:37 +01:00
153e3d30fb Create working GUI scaffolding 2021-03-10 20:18:03 +01:00
454c8278f3 Enable font deserialization 2021-03-09 23:01:43 +01:00
cf0e164513 [Editor] Add support for importing fonts 2021-03-09 22:21:12 +01:00
a60925665b Init GUI #1 2021-03-09 21:03:39 +01:00
d0bfa6369a Rename Window to Screen 2021-03-09 19:49:50 +01:00
4a1beb5101 Refactor DefaultEntity and DefaultEntityManager 2021-03-09 19:22:50 +01:00
debb6eec2d Use Vector2*c read-only interfaces where possible 2021-03-09 19:22:41 +01:00
db6af580e2 [Editor] Fix JDK Compiler error, when location.source is null 2021-03-09 16:03:44 +01:00