diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-07-21 22:55:33 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-21 14:55:33 +0200 |
| commit | 394df0bc44b535be522839b2ce719f411eee6be4 (patch) | |
| tree | bd7d9ed7776282a4b9a8a5ea4f1ca0e4c7178b78 /src/main/resources | |
| parent | c619022fe1910f0976397a9bcbecfed9b48c6a19 (diff) | |
| download | notenoughupdates-394df0bc44b535be522839b2ce719f411eee6be4.tar.gz notenoughupdates-394df0bc44b535be522839b2ce719f411eee6be4.tar.bz2 notenoughupdates-394df0bc44b535be522839b2ce719f411eee6be4.zip | |
Add support for only showing custom todos when they are soon (#1257)
Diffstat (limited to 'src/main/resources')
| -rw-r--r-- | src/main/resources/assets/notenoughupdates/gui/customtodos/edit.xml | 45 |
1 files changed, 38 insertions, 7 deletions
diff --git a/src/main/resources/assets/notenoughupdates/gui/customtodos/edit.xml b/src/main/resources/assets/notenoughupdates/gui/customtodos/edit.xml index 551d0611..dd2d4e28 100644 --- a/src/main/resources/assets/notenoughupdates/gui/customtodos/edit.xml +++ b/src/main/resources/assets/notenoughupdates/gui/customtodos/edit.xml @@ -52,25 +52,56 @@ <Switch value="@isResetOffset"/> </Row> <Row> - <Text text="@getFancyTime" width="300"/> + <Text text="@getFancyTimeTimer" width="300"/> </Row> <Row> - <Button onClick="@minusDay"> + <Button onClick="@minusDayTimer"> <Text text="-Day"/> </Button> - <Button onClick="@minusHour"> + <Button onClick="@minusHourTimer"> <Text text="-Hour"/> </Button> - <Button onClick="@minusMinute"> + <Button onClick="@minusMinuteTimer"> <Text text="-Minute"/> </Button> - <Button onClick="@plusMinute"> + <Button onClick="@plusMinuteTimer"> <Text text="+Minute"/> </Button> - <Button onClick="@plusHour"> + <Button onClick="@plusHourTimer"> <Text text="+Hour"/> </Button> - <Button onClick="@plusDay"> + <Button onClick="@plusDayTimer"> + <Text text="+Day"/> + </Button> + </Row> + <Row> + <Text text="Show only when (seconds): " width="150"/> + <TextField width="300" value="@showWhen"/> + </Row> + <Row> + <Text text="Show only when ready: " width="150"/> + <Switch value="@showOnlyWhenReady"/> + </Row> + <Row> + <Text text="@getFancyTimeShowWhen" width="300"/> + </Row> + <Row> + <Button onClick="@minusDayShowWhen"> + <Text text="-Day"/> + </Button> + <Button onClick="@minusHourShowWhen"> + <Text text="-Hour"/> + </Button> + <Button onClick="@minusMinuteShowWhen"> + <Text text="-Minute"/> + </Button> + <Button onClick="@plusMinuteShowWhen"> + <Text text="+Minute"/> + </Button> + <Button onClick="@plusHourShowWhen"> + <Text text="+Hour"/> + </Button> + <Button onClick="@plusDayShowWhen"> <Text text="+Day"/> </Button> </Row> |
