mirror of
https://github.com/zoriya/My3D.git
synced 2026-06-01 18:16:40 +00:00
Starting the ui lib
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ CC = gcc
|
||||
|
||||
all: build
|
||||
|
||||
build: $(OBJ)
|
||||
$(NAME): $(OBJ)
|
||||
$(MAKE) -C lib/gamacon
|
||||
$(MAKE) -C lib/my
|
||||
$(MAKE) -C lib/xmlparser
|
||||
|
||||
+1
-1
Submodule lib/gamacon updated: 1b3b69b65b...1a11c5074a
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user