-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
next: New UI - Multiple independent panels that can be dragged out #513
Conversation
Wow, cool! Even if we don't finish the fully correct implementation, it can be a Config setting. I'll take a look |
I am getting the compile error: Error:(41, 17) java: package sun.swing does not exist, in BasicLizziePaneUI Do you know what is wrong? I tried a few different JDK compliance levels (11, 8, 7) |
I just temporarily removed the package sun.swing, please try again. |
It's really cool, but, appears quite glitchy right now. In the backgrounds of each component now, I can see a glitched version of the board.. and the Lizzie backgrounds etc aren't working correctly. Key commands aren't working (for example I can't use the up arrow to undo). Dragging anywhere moves the pane, when that's not desirable. Note that in 0.7 release, dragging on the board will be the way you enable avoid-moves and search-moves from your other PR. Is it possible to fix some of these issues? I want to include it as an optional but nondefault feature. |
|
it was draggable by default for me... |
I adjusted the background display issue. It seems to have improved. |
This is a bit strange, I have commented the event registration code. |
Fixed the Background Issue. |
Save/Restore the Window & Pane Position |
Add Background Process. |
Can turn off design mode when press Alt+W in the LizziePane. |
It might be more clear to just use an icon to mark the analysis status. |
Interesting idea but the icon has to be self explanatory. I'm not sure what the best way is either. I'll test this PR tonight, thanks for all the updates. Hopefully everything is fixed. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I will try to append background transparency if this is necessary. |
I think if the background textures are not visible, it will make some nice themes look uglier. It would be best to make them transparent. |
Yes the screenshot is just to show that my backgrounds were not rendering the same as before. |
Added the pane background transparency process. |
Update Pane Background Transparency Process & Fixed Draw Controls. |
I tried to develop a new UI layout that used multiple independent panes that can be dragged out.
Split the original single frame into the following panes:

Main Board
Basic Info
Winrate
Sub Board
Variation Tree
Comment
This will refresh the individual Pane.
I wrote a simple layout manager that currently only implements the current layout and needs further optimization.
At the same time, each Pane, like the JToolBar, can be dragged out to be a separate window so that we can display them on different displays. The window will restore a pane when the window be closed.

Possible problems and next steps:
This is a test version that can be run and looks forward to a better implementation.