mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
st/gui: Use int input for remote driver port
This commit is contained in:
parent
77ee72d4eb
commit
e24ec3d431
|
@ -364,7 +364,7 @@ static void
|
||||||
on_not_connected(struct gui_remote *gr, struct gui_program *p)
|
on_not_connected(struct gui_remote *gr, struct gui_program *p)
|
||||||
{
|
{
|
||||||
igInputText("Address", gr->address, sizeof(gr->address), 0, NULL, NULL);
|
igInputText("Address", gr->address, sizeof(gr->address), 0, NULL, NULL);
|
||||||
igSliderInt("Port", &gr->port, 0, UINT16_MAX, "%i", 0);
|
igInputInt("Port", &gr->port, 1, 1, 0);
|
||||||
|
|
||||||
bool connect = igButton("Connect", zero_dims);
|
bool connect = igButton("Connect", zero_dims);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue