Page 1 of 1

[Implemented] OpenWindow() - Title before flags

Posted: Thu Mar 02, 2006 4:21 am
by Joakim Christiansen
This is ugly:

Code: Select all

OpenWindow(#Main,0,0,640,480,#PB_Window_ScreenCentered|#PB_Window_SystemMenu|#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget|#PB_Window_SizeGadget,"Whatever")
This is nice:

Code: Select all

OpenWindow(#Main,0,0,640,480,"Whatever",#PB_Window_ScreenCentered|#PB_Window_SystemMenu|#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget|#PB_Window_SizeGadget)
What do you think? It's easy to fix!
Want it in the next beta :D

Re: OpenWindow() - Title before flags

Posted: Thu Mar 02, 2006 4:39 am
by PB
Agreed.

Posted: Thu Mar 02, 2006 9:52 am
by Flype
yes, it's handy this way and more 'pb consistent'.
and if flags could be #PB_Window_ScreenCentered|#PB_Window_SystemMenu by default...
so that we could write OpenWindow(#Main,0,0,640,480,"Whatever").

Posted: Thu Mar 02, 2006 10:06 am
by Rescator
I like that idea!

Posted: Thu Mar 02, 2006 4:44 pm
by Nik
!inc

Posted: Sat Mar 04, 2006 1:42 pm
by einander
I vote for Flype's way 8)

Posted: Sat Mar 04, 2006 1:47 pm
by SCRJ
Yes, good idea

Posted: Sat Mar 04, 2006 1:49 pm
by Berikco
Yes, seems an old fossile still in there :lol:
I think its time to change this now :!:

Posted: Sat Mar 04, 2006 1:49 pm
by Dare2
Good idea, with the suggested defaults as well. No more sideways scrolling!