aboutsummaryrefslogtreecommitdiff
path: root/go/ui
Commit message (Collapse)AuthorAgeFilesLines
* brighten the second player color to better see the symbolsFlorian Fischer2025-07-281-1/+1
|
* remove debug printFlorian Fischer2025-07-281-1/+0
|
* add doc comment for NewRoundSimpleButtonFlorian Fischer2025-07-241-0/+3
|
* remove debug printFlorian Fischer2025-07-241-3/+0
|
* present reset button on top of promptFlorian Fischer2025-07-241-0/+10
|
* use canonical file names to retrieve card symbolsFlorian Fischer2025-07-221-1/+1
|
* add comment about broken big card gridsFlorian Fischer2025-07-221-0/+2
|
* fix handling of straight streetsFlorian Fischer2025-07-191-3/+5
|
* remove player color from game codeFlorian Fischer2025-07-191-1/+2
|
* add minimal number choice widthFlorian Fischer2025-07-061-1/+2
|
* add more ways to interact with a buffer's linesFlorian Fischer2025-07-061-0/+16
|
* do not use 0 as timer bar widthFlorian Fischer2025-07-061-0/+3
|
* add simple spinnerFlorian Fischer2025-07-061-0/+77
|
* prevent crash when not all number choice buttons are usedFlorian Fischer2025-07-061-1/+1
|
* scale pan distance for ScrollFlorian Fischer2025-07-061-1/+1
|
* switch focus on tap or clickFlorian Fischer2025-07-061-1/+3
|
* allow to update a TextBox's textFlorian Fischer2025-07-061-0/+6
|
* use constants instead of hardcoded valuesFlorian Fischer2025-07-061-1/+1
|
* ui: include touch inputs in the input queueFlorian Fischer2025-07-063-97/+94
|
* support js/wasm for openUrlFlorian Fischer2025-07-062-1/+16
|
* add simple timer bar widgetFlorian Fischer2025-07-031-0/+61
|
* improve prompt cancellationFlorian Fischer2025-07-031-2/+8
| | | | | | | | The cancel button was overlaying the submit button preventing the submission of a prompt. Distinguish between cancelable and mandatory prompt. Only^ allow cancelable prompts to be removed. Fixes: 37acd982
* make input events consumableFlorian Fischer2025-07-033-37/+140
| | | | | | Having a input queue of consumable input events allow widgets to prevent the further handling of the same event by different collections by consuming the event.
* minor whitespace fixesFlorian Fischer2025-07-031-6/+6
|
* initialize event handler map and hanlde neutralized tilesFlorian Fischer2025-07-031-0/+3
|
* fix ToggleCardView blocking other widgetsFlorian Fischer2025-07-031-5/+8
|
* add toggable card viewFlorian Fischer2025-07-031-0/+54
|
* refactor client activitiesFlorian Fischer2025-07-031-0/+25
| | | | | Make the activity stack explicit and move reusable activities to the activity package.
* improve the sealed activityFlorian Fischer2025-05-011-0/+1
| | | | | | Do not export the sealed client type. Validate the entered set list. Show the default set list.
* overhaul uiFlorian Fischer2025-05-0116-190/+509
| | | | | | | | | | | * 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
* add a singleton to handle touch inputsFlorian Fischer2025-05-011-0/+220
|
* define global player colorsFlorian Fischer2025-04-131-0/+4
|
* migrate to ebiten/v2/text/v2Florian Fischer2025-01-275-51/+52
|
* introduce game.State interface abstractionFlorian Fischer2025-01-272-27/+28
| | | | | This allows to not use the internal game state directly from client code.
* ui: add new number choiceFlorian Fischer2025-01-272-11/+101
|
* update dependencies and revert AppendInputChars changeFlorian Fischer2025-01-271-2/+3
|
* support special wall, gate and tower tile selectionFlorian Fischer2025-01-271-15/+122
|
* ui: allow multiple highlights of thesame game pieceFlorian Fischer2025-01-271-16/+28
|
* ui: add simple hamburger style pile hintFlorian Fischer2025-01-271-0/+59
|
* bump ebiten version to 2.5.1 and new APIsFlorian Fischer2025-01-274-9/+8
|
* ui: separate selection and options via their highlight colorFlorian Fischer2025-01-273-43/+66
|
* intermediate commitFlorian Fischer2025-01-271-2/+4
| | | | | | * use names for pile perm choice * fix PocList hover segfault * prevent mysterius autogenerated playTargets segfault
* intermediate commitFlorian Fischer2025-01-271-2/+4
| | | | | | | | | | | * Implement move artifact action * Fix widget update memory leak * update the highlights not during on each frame * do not update the unchanged label of a button * Allow to exit the game by pressing 'q' * Implement some cards from the magic set * Improve permanent formatting * Some tweaks to UnitAI code
* fixup! intermeditae commitFlorian Fischer2025-01-271-1/+1
|
* intermeditae commitFlorian Fischer2025-01-271-0/+4
| | | | | | * implement dopping piles * implement simple spell targeting * add some simple spells
* use prompt for target selection of all actionsFlorian Fischer2025-01-273-9/+13
|
* export less methodsFlorian Fischer2025-01-271-2/+0
|
* implement unit and artifact switch actionFlorian Fischer2025-01-272-40/+27
| | | | | | | | | | Simplify the Choice Widget and make it a TextBox variant. Drive-by fixes: * ui.Collection: prioritize newer widgets during active widget selection * game.FullAction: fix incorrect cost function. Full actions cost all available actions. Also fix the cost check
* move more ui logic into CollectionFlorian Fischer2025-01-2710-30/+277
| | | | | * Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner
* replace Fatalf with PanicfFlorian Fischer2025-01-272-5/+5
| | | | Panicf includes a stacktrace and causes a debugger to halt.