- Posts: 4402
GUI
- PhracturedBlue
- Offline
Things you can do:
specify custom icons for each model
Specify the color and outline of the text boxes as well as if they are filled or transparent
specify whether the battery icon or text is shown
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
Of course. I just wanted to getthe pieces in place so you could move them around as you like.FDR wrote: Thanks, I will do the shuffleboard part!
Can I make the header a bit coarser? The buttons can't fit on this small...
Yes, that font was just a surragate, and is actually completely useless (nearly unreadable on the actual Devo8). I will probably just delete it. My expectation is that we want a 20pt font there, but I don't have one right now.Also that model name font is while fancy enough, but it is hard to read.
that is weird. is it with the bmps I placed or with your own?I have some bug with the model picture on the main sreen too:
Can you verify that you can open the heli.bmp and plane.bmp bitmaps directly? I'm trying to figure out if the bug is in theparser or the bmps themselves. Also, you can try making your own. Theyare just 96x96 16bit bmps (same as everything else). Currently, they are the ones I copied from the Devo Lib as placeholders.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Yes this is the default bmp, and I can open it in PS, and there it looks good.PhracturedBlue wrote: that is weird. is it with the bmps I placed or with your own?
Can you verify that you can open the heli.bmp and plane.bmp bitmaps directly? I'm trying to figure out if the bug is in theparser or the bmps themselves. Also, you can try making your own. Theyare just 96x96 16bit bmps (same as everything else). Currently, they are the ones I copied from the Devo Lib as placeholders.
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
PhracturedBlue wrote: I fixed the bmp. I was opening it in 'text' mode which works fine in linux but not in windows. that specific bmp just happens to have a color that triggers the issue.
Thanks, it's good now...
However I have a crash: if I go to the mixer page end change the channel to "Expo & D/R" type, the emulator craches and closes.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
This was an uninitizlized value. It worked fine in linux, but not windows. Anyhow, it is fixed now.FDR wrote:
PhracturedBlue wrote: I fixed the bmp. I was opening it in 'text' mode which works fine in linux but not in windows. that specific bmp just happens to have a color that triggers the issue.
Thanks, it's good now...
However I have a crash: if I go to the mixer page end change the channel to "Expo & D/R" type, the emulator craches and closes.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Thanks, you can go to sleep now!PhracturedBlue wrote: This was an uninitizlized value. It worked fine in linux, but not windows. Anyhow, it is fixed now.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
You haven't slept too much!
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
No probably not enoughFDR wrote:
You haven't slept too much!
Please Log in or Create an account to join the conversation.
- FDR
- Offline
+ Compiling 'target/emu_devo8/fltk.cpp'
+ Building 'emu_devo8.exe'
objs/emu_devo8-w32/sound.o: In function `SOUND_Init':
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:115: undefined reference to `Pa_Initialize'
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:118: undefined reference to `Pa_Terminate'
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:121: undefined reference to `Pa_GetDefaultOutputDevice'
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:124: undefined reference to `Pa_Terminate'
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:130: undefined reference to `Pa_GetDeviceInfo'
objs/emu_devo8-w32/sound.o: In function `SOUND_Start':
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:140: undefined reference to `Pa_OpenStream'
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:152: undefined reference to `Pa_Terminate'
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:155: undefined reference to `Pa_StartStream'
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:159: undefined reference to `Pa_Terminate'
objs/emu_devo8-w32/sound.o: In function `SOUND_Stop':
C:\deviation\MinGW\msys\1.0\home\LFodor\src\deviation\src/target/emu_devo8/sound
.c:166: undefined reference to `Pa_StopStream'
collect2: ld returned 1 exit status
make: *** [emu_devo8.exe] Error 1
...probably forgot to checkin or push something...
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
EDIT: + changed title text and it's color
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
...and I have already realigned!PhracturedBlue wrote: Looks nice. I merged your changes. I also added code to show the icon of the model selected in load/save. Makes the screen look a little nicer, though probably providing virtually no value
Please Log in or Create an account to join the conversation.
- FDR
- Offline
FDR wrote: I've made some mistake: the lower two boxes on the main page are no longer in boxes, but I can't see anything...
Something is fishy in the ini parser...
I saw strange thing before too, but then I couldn't replicate, but now I can:
The timer boxes appeared if I pulled the font-timer section in the config.ini upper. If I put it before the throttle section, then the throttle boxes go wrong. If I have uppered more, everything seems allright...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
And would you shorten the battery level text? IMO 2 decimals would be more than enough...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I also merged your latest changes and fixed the voltage. And added the tx-power icon (it should even work properly as youchange the power)
Please Log in or Create an account to join the conversation.