- Posts: 4403
GUI
- PhracturedBlue
-
- Offline
Less
More
31 Jul 2012 19:33 #791
by PhracturedBlue
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
Replied by PhracturedBlue on topic Re: GUI
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
- FDR
-
- Offline
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
- FDR
-
- Offline
- FDR
-
- Offline
01 Aug 2012 05:32 #795
by FDR
Replied by FDR on topic Re: GUI
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.
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
01 Aug 2012 06:06 #796
by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI
Ok, I think what we've got is sufficient then. I'm going to bed now, but if you find anything else to change, just let me know. I have no other planned changes at this point before the alpha release at this time. I've merged your changes.
- FDR
-
- Offline
01 Aug 2012 14:27 #800
by FDR
Replied by FDR on topic Re: Countdown to release
I would like to modify the icons. I've already prepared them, but I only can do it at home in the evening.
I hope you will like them...
I hope you will like them...
- FDR
-
- Offline
- FDR
-
- Offline
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
- FDR
-
- Offline
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
02 Aug 2012 05:55 #830
by PhracturedBlue
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.
Replied by PhracturedBlue on topic Re: GUI
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.
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
02 Aug 2012 14:53 #845
by PhracturedBlue
Replied by PhracturedBlue on topic Re: GUI
I'm planning to announce the 1st (emulator only) release tomorrow. Right now, I'm basically focusing on administrative stuff...getting binaries ready to go, updating the main website page, etc. I still need to swap out the 'toggle' icons, but any other gui related changes you want to make we should get done today if we want them in the release tomorrow.
- FDR
-
- Offline
- FDR
-
- Offline
- FDR
-
- Offline
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
- FDR
-
- Offline
- FDR
-
- Offline
02 Aug 2012 19:13 #853
by FDR
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.
Replied by FDR on topic Re: GUI
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.
Time to create page: 0.895 seconds