Starting the ui lib

This commit is contained in:
AnonymusRaccoon
2020-02-21 17:55:22 +01:00
parent 4483ff5e28
commit e809d5bbd0
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ add_executable(My3D
lib/xmlparser/src/xmlparser.c
lib/xmlparser/src/xmlproperties.c
src/game_loader.c
main.c)
main.c lib/gamacon/include/errors.h lib/gamacon/src/ui/button.c lib/gamacon/src/ui/setup_ui.c lib/gamacon/include/ui.h)
add_compile_options(-W -Wall -Wextra -Wshadow)
+1 -1
View File
@@ -23,7 +23,7 @@ CC = gcc
all: build
build: $(OBJ)
$(NAME): $(OBJ)
$(MAKE) -C lib/gamacon
$(MAKE) -C lib/my
$(MAKE) -C lib/xmlparser
+2
View File
@@ -1,9 +1,11 @@
<gc_scene>
<data>
<sprite src="assets/sprites/grass.png" />
<sprite name="button_background" src="assets/sprites/grass.png" />
<font src="assets/fonts/roboto.ttf" />
</data>
<gc_entities>
<button text="Button" x="75%" y="25%"/>
<gc_entity>
<transform_component />
<renderer text="assets/sprites/grass.png" />