Jump to content

Recommended Posts

Posted

I'm using the indie version (C++), and am having trouble finding a simple example to set my screen to fullscreen. I've tried the following but it doesn't compile.

 

 

window = Leadwerks::Window::Create("mytest", 0, 0, 1920, 1080, window.FullScreen);

 

window = Leadwerks::Window::Create("mytest", 0, 0, 1920, 1080, Window::FullScreen);

 

window = Leadwerks::Window::Create("mytest", 0, 0, 1920, 1080, FullScreen);

 

window = Leadwerks::Window::Create("ColossusFactor", 0, 0, 1920, 1080, window->FullScreen);

 

 

This compiles and runs, but it's not 'full screen', as in I still see the title bar and bottom of task bar/launchers/notifiers/etc

 

window = Leadwerks::Window::Create("ColossusFactor", 0, 0, 1920, 1080, window->FullScreen);

 

Running XFCE 64bit Ubuntu 14.xx

Posted

i believe -> is similar the dot elsewhere

its a constant in Window class, i guess u must write it upper case.

did u try Window->FullScreen ?

can u print the value on screen before.

or maybe fullscreen not work in linux u need nvidia or amd driver, or its a bug.

PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265

2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ...

3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8

Music : Samplitude Music Studio , Music Creator 7

IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ...

Posted

Window::FullScreen is correct.

 

However I have read that there was a problem with fullscreen under Linux.

Have you tried the steam beta? Maybe it is fixed there already.

Posted

then i guess before beta this flag was skipped :)

PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265

2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ...

3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8

Music : Samplitude Music Studio , Music Creator 7

IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...