mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Add .Maximize to BeefPerf window flags
Makes maximize button work. Also removed the enum name from each enum since it's already in the variable declaration.
This commit is contained in:
parent
c10565678e
commit
9131217790
1 changed files with 2 additions and 3 deletions
|
@ -234,9 +234,8 @@ namespace BeefPerf
|
||||||
mMainFrame = new MainFrame();
|
mMainFrame = new MainFrame();
|
||||||
mDockingFrame = mMainFrame.mDockingFrame;
|
mDockingFrame = mMainFrame.mDockingFrame;
|
||||||
|
|
||||||
BFWindow.Flags windowFlags = BFWindow.Flags.Border | BFWindow.Flags.SysMenu | //| BFWindow.Flags.CaptureMediaKeys |
|
BFWindow.Flags windowFlags = .Border | .SysMenu | .Caption | .Minimize | .Maximize |
|
||||||
BFWindow.Flags.Caption | BFWindow.Flags.Minimize | BFWindow.Flags.QuitOnClose | BFWindowBase.Flags.Resizable |
|
.QuitOnClose | .Resizable | .Menu | .SysMenu;
|
||||||
BFWindow.Flags.Menu | BFWindow.Flags.SysMenu;
|
|
||||||
if (mWantsFullscreen)
|
if (mWantsFullscreen)
|
||||||
windowFlags |= BFWindowBase.Flags.Fullscreen;
|
windowFlags |= BFWindowBase.Flags.Fullscreen;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue