aboutsummaryrefslogtreecommitdiff
path: root/go/ui
Commit message (Collapse)AuthorAgeFilesLines
* clear the hoverable reset func after the hover was resetFlorian Fischer2025-08-201-1/+4
|
* do not show wrong and misleading reachable tilesFlorian Fischer2025-08-201-11/+0
|
* add message support to the game clientFlorian Fischer2025-08-201-3/+30
|
* show card name in permInfoFlorian Fischer2025-08-201-3/+3
|
* highlight reachable tiles in hover infoFlorian Fischer2025-08-201-0/+26
|
* simplify touch detection logic and adapt thresholdsFlorian Fischer2025-08-201-14/+14
|
* add specialized longtap hover detectorFlorian Fischer2025-08-205-22/+40
|
* rework hover detectionFlorian Fischer2025-08-209-78/+122
|
* add range highlight colorsFlorian Fischer2025-08-201-0/+2
|
* prevent choice index out of bounds errorsFlorian Fischer2025-08-201-0/+1
| | | | This can happen if the last x coordinate of a choice is clicked.
* add support for flexible attacksFlorian Fischer2025-08-201-1/+1
|
* use any instead of interface{}Florian Fischer2025-08-2010-13/+13
|
* brighten the second player color to better see the symbolsFlorian Fischer2025-08-201-1/+1
|
* remove debug printFlorian Fischer2025-08-201-1/+0
|
* add doc comment for NewRoundSimpleButtonFlorian Fischer2025-08-201-0/+3
|
* remove debug printFlorian Fischer2025-08-201-3/+0
|
* present reset button on top of promptFlorian Fischer2025-08-201-0/+10
|
* use canonical file names to retrieve card symbolsFlorian Fischer2025-08-201-1/+1
|
* add comment about broken big card gridsFlorian Fischer2025-08-201-0/+2
|
* fix handling of straight streetsFlorian Fischer2025-08-201-3/+5
|
* remove player color from game codeFlorian Fischer2025-08-201-1/+2
|
* add minimal number choice widthFlorian Fischer2025-08-201-1/+2
|
* add more ways to interact with a buffer's linesFlorian Fischer2025-08-201-0/+16
|
* do not use 0 as timer bar widthFlorian Fischer2025-08-201-0/+3
|
* add simple spinnerFlorian Fischer2025-08-201-0/+77
|
* prevent crash when not all number choice buttons are usedFlorian Fischer2025-08-201-1/+1
|
* scale pan distance for ScrollFlorian Fischer2025-08-201-1/+1
|
* switch focus on tap or clickFlorian Fischer2025-08-201-1/+3
|
* allow to update a TextBox's textFlorian Fischer2025-08-201-0/+6
|
* use constants instead of hardcoded valuesFlorian Fischer2025-08-201-1/+1
|
* ui: include touch inputs in the input queueFlorian Fischer2025-08-203-97/+94
|
* support js/wasm for openUrlFlorian Fischer2025-08-202-1/+16
|
* add simple timer bar widgetFlorian Fischer2025-08-201-0/+61
|
* improve prompt cancellationFlorian Fischer2025-08-201-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-08-203-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-08-201-6/+6
|
* initialize event handler map and hanlde neutralized tilesFlorian Fischer2025-08-201-0/+3
|
* fix ToggleCardView blocking other widgetsFlorian Fischer2025-08-201-5/+8
|
* add toggable card viewFlorian Fischer2025-08-201-0/+54
|
* refactor client activitiesFlorian Fischer2025-08-201-0/+25
| | | | | Make the activity stack explicit and move reusable activities to the activity package.
* improve the sealed activityFlorian Fischer2025-08-201-0/+1
| | | | | | Do not export the sealed client type. Validate the entered set list. Show the default set list.
* overhaul uiFlorian Fischer2025-08-2016-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-08-201-0/+220
|
* define global player colorsFlorian Fischer2025-08-201-0/+4
|
* migrate to ebiten/v2/text/v2Florian Fischer2025-08-205-51/+52
|
* introduce game.State interface abstractionFlorian Fischer2025-08-202-27/+28
| | | | | This allows to not use the internal game state directly from client code.
* ui: add new number choiceFlorian Fischer2025-08-202-11/+101
|
* update dependencies and revert AppendInputChars changeFlorian Fischer2025-08-201-2/+3
|
* support special wall, gate and tower tile selectionFlorian Fischer2025-08-201-15/+122
|
* ui: allow multiple highlights of thesame game pieceFlorian Fischer2025-08-201-16/+28
|