x12 windowing system
This commit is contained in:
parent
e16b468e23
commit
e6ab1fb39a
60 changed files with 701 additions and 877 deletions
21
01 - Menus/04 - Modules/ini_button.gd
Normal file
21
01 - Menus/04 - Modules/ini_button.gd
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
extends Control
|
||||
|
||||
var size_x = 192
|
||||
var size_y = 164
|
||||
var text = "button"
|
||||
var config
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _enter_tree() -> void:
|
||||
%button.size = Vector2(size_x,size_y)
|
||||
%button.text = text
|
||||
custom_minimum_size = %button.size
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(_delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_button_pressed() -> void:
|
||||
pass # Replace with function body.
|
||||
Loading…
Add table
Add a link
Reference in a new issue