Hi - Is there a known limitation in Zune that prevents the use of borderless windows?
As far as I can tell, hiding the window title bar and window border decorations does not appear to work.
In Odyssey, the following code is used to enable the fullscreen mode that is available to users via the "View" screen menu.
[code]
set(obj, MUIA_Window_Title, NULL);
set(obj, MUIA_Window_Borderless, TRUE);
set(obj, MUIA_Window_DragBar, FALSE);
set(obj, MUIA_Window_CloseGadget, FALSE);
set(obj, MUIA_Window_DepthGadget, FALSE);
set(obj, MUIA_Window_TopEdge, MUIV_Window_TopEdge_Delta(0));
set(obj, MUIA_Window_Width, MUIV_Window_Width_Screen(100));
set(obj, MUIA_Window_Height, MUIV_Window_Height_Screen(100));
[/code]
Unlike on MorphOS with MUI, this does not appear to work on AROS with Zune.
Enabling the fullscreen mode still shows the close and depth gadgets, the entire window title bar as well as the window borders.
In addition to this, the window size does not appear to get adapted correctly (i.e. enabling fullscreen does not use anywhere close to the full available width and height) but I suppose this is a secondary issue.
Hi,
I checked how Odyssey 3.0 behaves and indeed it does not go to full screen. There are two issues here: borders and size.
Borders: Borderless, DragBar, CloseGadget and DepthGadget seems to apply only during creation of window. They are not settable in Zune after window has been created. I checked the only docs for AmigaOS4 MUI as well as MorphOS 3.16 SDK and in both cases these attrubutes are also marked as "I". So MorphOS MUI having these attributes settable is either a hidden feature or something that has been added after 3.16.
Size: It seems to be either a calculation bug or 64-bit bug with X_Screen(), X_Visible(). Where did you stop this problem? On 64-bit or 32-bit AROS?
I create two tickes for those issues:
https://github.com/deadwood2/AROS/issues/214
https://github.com/deadwood2/AROS/issues/215
If your issues with Width_Screen was happening on 64-bit AROS, try adding (IPTR) cast to the MUIV_ value. It might be that negative value is not correctly sign-exteneded.
I'll see if I can fix both of these issues when I work on next version of Odyssey