- Posts: 4402
GUI
- PhracturedBlue
- Offline
Ok, I did something like this. We need a small proportional font. the system 5x7 is too wide. Currently the space needed between bars is too great just so the value can be shown.FDR wrote:
The bars will automatically become 2 rows if the number of channels is > 8
The bargraph and trims are now configurable in config.ini
Please Log in or Create an account to join the conversation.
- FDR
- Offline
+ Compiling 'gui/xygraph.c'
+ Compiling 'pages/chantest_page.c'
In file included from pages/chantest_page.c:17:0:
pages/pages.h:8:27: fatal error: chantest_page.h: No such file or directory
compilation terminated.
make: *** [objs/emu_devo8-w32/chantest_page.o] Error 1
Please Log in or Create an account to join the conversation.
- FDR
- Offline
The ini doing the same thow: I had to change the modelname outline row to elsewhere to show up...
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
This is the same behavior, abou which I wrote earlier: I had to move the whole font-timer section to make it work.
Try to move it down!
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please show me a ini file that demonstrates this. I've played with it and can't reproduce what you are seeing.FDR wrote: In the config.ini's font-modelname section the box_type was in a different line (une upper). When I removed the ; the outline didnt show up on the main page, only after I changed the line order.
This is the same behavior, abou which I wrote earlier: I had to move the whole font-timer section to make it work.
Try to move it down!
of course if you uncomment the 'box_type=outline' you need to comment the 'box_type=center' below it as the last one wins. But I assume that isn't what you meant.
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
If you already committed, but haven't pushed, you can sometimes do 'hg rollback' to uncommit the last changes (it doesn't delete them, just acts as if you never ran 'hg commit'
If you already pushed, or hg rollback doesn't work, you can use 'hg co -r <ver> <filename> to checkout a previous version of a file, and then re-commit it.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
PhracturedBlue wrote: Please show me a ini file that demonstrates this. I've played with it and can't reproduce what you are seeing.
of course if you uncomment the 'box_type=outline' you need to comment the 'box_type=center' below it as the last one wins. But I assume that isn't what you meant.
Oops, the box_type might have been a mixup then, but the font-timer section was not, for sure!
I had a bad state checked in in the 0fed61653a6a version, which I corrected with the 364ffd7bec1e.
The timer and the voltage was not boxed after I added the font-title section...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
0fed61653a6a does not include the fix I madeFDR wrote: I had a bad state checked in in the 0fed61653a6a version, which I corrected with the 364ffd7bec1e.
The fix was introduced in 20465642a645 which was a couple of revisions later. If you see it again, please let me know.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Also: I'm off to bed. I need to get more sleep tonight than I did last night
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
Very nice!PhracturedBlue wrote: Also, try out the scrollbar on the mixer page (and make sure I didn't break the load/save page). I completely reworked the scrollbar code so it is more flexible, so hoefully there aren't too many more bugs.
The program starts to look serious!
Back on topic:
On the mixer list you can't change page with the keyboard, because the cycling is limited to the visible buttons, and you can't reach the scrollbar with the keys (which is correct IMO).
Can you implement the auto scrolling I have described previously?
Plus it would be useful if the left/right worked too, certainly if we don't use it for changing pages anymore...
However the long up/down (and later left/right) press could work too to speed up the scrolling.
The model load/save page is worse, because there you can't reach the listbox with the keyboard at all.
When I first tried the new listbox, I dragged the position bar of the scrollbar to the end, and it worked! But after that I realized, that it is because I ended the long press on the arrow.
So the behavior of the controls now is like that: if you click the mouse anywhere outside the controls, and then drag it over a spinbutton or scrollbar arrow, it makes that control to do long steps...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
On the model page if I change the protocol over J6Pro it crashes...
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
Give it a shot now. I completely reimplemented button handling to make it more configurable (and probably introduced a bunch of bugs)FDR wrote: Back on topic:
On the mixer list you can't change page with the keyboard, because the cycling is limited to the visible buttons, and you can't reach the scrollbar with the keys (which is correct IMO).
Can you implement the auto scrolling I have described previously?
Plus it would be useful if the left/right worked too, certainly if we don't use it for changing pages anymore...
However the long up/down (and later left/right) press could work too to speed up the scrolling.
As I've mentioned before, using left-right to get the selection is really hard.
However, long-press will now page down in widgets with scrollbars.
Making the widget scroll down one if you hit the end is also complicated, though probably doable, but I don't think we want to. It will be much slower to use than wrapping within the current page.
I haven't added keyboard support to the listbox widget yet, but the scrollbar on the listbox should respond to long-press now.The model load/save page is worse, because there you can't reach the listbox with the keyboard at all.
if it is really annoying I can probably fix that.When I first tried the new listbox, I dragged the position bar of the scrollbar to the end, and it worked! But after that I realized, that it is because I ended the long press on the arrow.
So the behavior of the controls now is like that: if you click the mouse anywhere outside the controls, and then drag it over a spinbutton or scrollbar arrow, it makes that control to do long steps...
Fixed itOne small crash:
On the model page if I change the protocol over J6Pro it crashes...
looks good. i merged this stuffI have made the graphs on all mixer pages square to avoid distortion of the graphs, and made them clickable, which opens the curve editor.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Yes it mix things up, because we use up/down for stepping throw the controls, but on the listbox that would supposed to change rows...PhracturedBlue wrote: I haven't added keyboard support to the listbox widget yet, but the scrollbar on the listbox should respond to long-press now.
No need, because it won't occure in the tx, since we don't drag the pencil...PhracturedBlue wrote: if it is really annoying I can probably fix that.
I was in the process of modifying the button.c and gui.h myself, but I was not ready, so I undid all my changes to get yours. Is there a way to rollback all changes in a file with hg to avoid need to merge?
I tried to do an image button (aka icon). But don't do it yet, I wish to try myself!
Please Log in or Create an account to join the conversation.
- FDR
- Offline
1. Stepping to the end in the trim- and trim+ spinbuttons of the trim page crashes too, like the protocol did.
2. On the curve editor if you select the more than 3 point curve to edit, and step to the last point in the point selection box, then change the curve type back to a fewer points one, then the point selection stays outside of the new boundaries.
3. A small one: you can set the min limit higher than the max limit...
Actually I don't really understand the channel setup page. What's the difference between setting it reversed, or inverting the channel source in the mixer? When are the min/max values applied? What's the difference between these min/max and the ones on the mixer page? What does the safety selection does over enabling the safety value on that channel? Doesn't it supposed to be on on/off thing?
I think I will reorder the complex mixer page too to be more clear...
EDIT: ...and I would put the Flysky protocol to the end, since it needs a different RF module if I understand well. I know it doesn't compile in, if it isn't asked for, but even so...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
It's good on the header part, but almost unvisible lower...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.