Skip to content
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

[NUI] Supports set/get full screen window #5653

Merged
merged 1 commit into from
Oct 24, 2023
Merged

[NUI] Supports set/get full screen window #5653

merged 1 commit into from
Oct 24, 2023

Conversation

sparrow74
Copy link
Collaborator

Supports set/get full screen window.

The full screen window means the window's size is same of full screen size.
The related DALi's patches are the belows.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/300078/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/300079/

Recently, Taskbar application was added to platform applications.
The Taskbar application is always floating on the home application. The application's window is the highest of the other window.
If the Taskbar application works, the other application window should be resized excepted Taskbar window's size.
The other requirement, some application want their windows are resized with full screen although Taskbar works.
To do that, the window uses full screen option.

The guide is

                    if(mainWin.GetFullScreen() == false)
                    {
                        mainWin.SetFullScreen(true);
                    }
                    else
                    {
                        mainWin.SetFullScreen(false);
                    }

If you want to use the related sample, refer the example, please
TizenFX/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/WindowTest.cs

To support set/get full screen sized window.
The full screen sized window means the window is resized with screen size.
In addition, this window is the z-order is the highest.
@TizenAPI-Bot
Copy link
Collaborator

Internal API Changed

Added: 2, Removed: 0, Changed: 0

Added

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.Window::GetFullScreen()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.Window::SetFullScreen(System.Boolean)

Copy link
Contributor

@dongsug-song dongsug-song left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.
very good to add TC and sample.

@dongsug-song dongsug-song merged commit 1e59202 into Samsung:DevelNUI Oct 24, 2023
3 checks passed
@sparrow74 sparrow74 deleted the FullScreenWindow branch October 30, 2023 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants