- Posts: 4402
GUI
- PhracturedBlue
- Offline
yep. that is because int(-0.9) == 0FDR wrote: The countdown timer is a bit weird: it immediately decease by 1, but at zero miss a second. Looks like some rounding error.
You can test it by showing both timers on the main page, and set them to start by throttle (Ch1 on the default).
After start it will show 0/9, 1/8, 2/7, etc seconds.
and int(9.9) == 9
so if a countdown timer starts at 10, it will immediately switch to '9' (since it becomes 9.9) whereas a countup timer will switch to '1' 1 second later. This is how stopwatches work as well...
for the countdown timer, goingthrough 0,you see the same thing.
It goes 1.0 -> 0.9 -> ... -> 0.1 -> 0 -> -0.1 -> ... -> -0.9 -> -1.0
you will see values of 1, then 0 for 2 seconds then -1
It may be better if it showed -0 once the values went negative
Please Log in or Create an account to join the conversation.
- FDR
- Offline
I just wasn't sure if it is normal or not.
Tomorrow I will check the original, how does it do it.
P.S.: I've just got my Ladybird!
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Well, the original fw is doing the same, except that there the two timers are not even in sync, and after the countdown has reached 0, they countinue with a + sign instead of -, to indicate the you are beyond that preset time...FDR wrote: Tomorrow I will check the original, how does it do it.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
I hope you will like them...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- FDR
- Offline
So you don't like it...FDR wrote: Modified the header icons and their alignment...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
huh? At work now. Haven't had a chance to look at it yet.FDR wrote:
So you don't like it...FDR wrote: Modified the header icons and their alignment...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Neither. It is me being color-blind and not being able to tell. You can change the icons however you like, we just need to use free-to-distribute images. I got them here:FDR wrote: I didn't dare to modify your plain ad heli picture, but there is some purpleish cast on the background. Is that intentional, or just a result of some bad color space conversion?
www.iconarchive.com/show/transport-for-v...helicopter-icon.html
but I don't really care about them as long as we can distribute them legally.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Checked them in...FDR wrote: OK, I will change the plane and heli icon at home. (They are ready...)
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
What is a "single-tick"?PhracturedBlue wrote: I made the single-tick exit as well as backslash. can you verify?
Backslash still doesn't work on a hungarian keyboard...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Nevermind, I found it in the code...FDR wrote: What is a "single-tick"?
Backslash still doesn't work on a hungarian keyboard...
So the ' doesn't work either...
On my computer the keyboard.exe shows \ and ' in the event_text, not in the event_key, which the code examines.
Please Log in or Create an account to join the conversation.