Windowed Mode working at all?
Posted: Thu Mar 31, 2011 6:36 pm
Is it possible to open a window in linux with purebasic?
This is what I try:
Without opengl it does not work at all. with opengl it opens a window in the upper left corner of the screen that cannot be dragged.
What do I have to do that it just opens a window that I can drag around and not captures the mouse.
All this was working fine in pb 4.20!
This is how we did in in 4.20:
In the new version it does not work at all without opengl. With opengl it opens a screen in the upper left corner 
This is what I try:
Code: Select all
OpenWindow(0, 0, 0, 640, 480, "Lost Labyrinth",#PB_Window_SizeGadget|#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget|#PB_Window_ScreenCentered|#PB_Screen_SmartSynchronization)What do I have to do that it just opens a window that I can drag around and not captures the mouse.
All this was working fine in pb 4.20!
This is how we did in in 4.20:
Code: Select all
OpenWindowedScreen(0, 0, 0, 640, 480, 1, 0, 0)