aboutsummaryrefslogtreecommitdiff
path: root/go/ui/textBox.go
Commit message (Collapse)AuthorAgeFilesLines
* allow to update a TextBox's textFlorian Fischer2025-07-061-0/+6
|
* use constants instead of hardcoded valuesFlorian Fischer2025-07-061-1/+1
|
* overhaul uiFlorian Fischer2025-05-011-71/+20
| | | | | | | | | | | * implement events instead of interfaces Interfaces and the wrappers head the problem that they could not support multiple events at once or only a single one without loosing the others. * add text input support for WASM on mobile A hidden html input is required to open the keyboard and receive the input. * improve the number choice * fix using the default number * add submit button only if a onclick method was provided
* migrate to ebiten/v2/text/v2Florian Fischer2025-01-271-16/+24
|
* ui: add new number choiceFlorian Fischer2025-01-271-11/+36
|
* move more ui logic into CollectionFlorian Fischer2025-01-271-1/+13
| | | | | * Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner
* intermediate commitFlorian Fischer2025-01-271-4/+15
| | | | | | | | | | | | * fix a lot of target and action bugs * check target selection before adding it to the prompt * use the store view for stores on the map * fix card highlighting in CardGrid * Only prompt for Upkeep-/DiscardActions if appropriate * Add helper for areaEffects granting new FullActions * Add Target() helper selecting the first target to the Action interface * Fix BuyAction and DiscardAction targets * Remember the stores a player has seen
* intermediate commitFlorian Fischer2025-01-271-1/+1
|
* add sealed activity to select a starting deckFlorian Fischer2025-01-271-2/+8
|
* improve state barFlorian Fischer2025-01-271-27/+31
|
* improve permanent pile supportFlorian Fischer2025-01-271-0/+7
| | | | | | * Fix alot of bugs caused by permanents without tiles * Implement a permanent choice to select the permanents in a pile * Fix how pile hooks are called
* add text input and properly center textFlorian Fischer2025-01-271-16/+51
|
* change unit attack representation and implement swordFlorian Fischer2025-01-271-1/+1
|
* intermediate commitFlorian Fischer2025-01-271-5/+4
|
* intermeditae commitFlorian Fischer2025-01-271-14/+119
|
* intermediate commitFlorian Fischer2025-01-271-2/+2
|
* intermediate commitFlorian Fischer2025-01-271-26/+16
|
* intermediate commitFlorian Fischer2025-01-271-0/+67
Implement actions and multiple ui widgets