Added: #PB_Sprite_PixelCollision flag to CreateSprite(), LoadSprite() to enable pixel collision
Added: ClipSprite() now support #PB_Default for individual parameter Added: 'Color' and 'Intensity' parameter to DisplayTransparentSprite() Added: ZoomSprite() now accepts #PB_Default as Width/Height to reset to initial sprite size Added: Optional pad number to JoystickX/Y/Z() to handle more complex gamepads Added: Optional #PB_Relative flag to JoystickX/Y/Z() to have more precise values Added: Named enumeration support to allow continuing a previous enumeration
Purebasic select case windows#
Added: DirectX11 subsystem for Windows (doesn't not support the 3D engine for now) Personally.? i dislike the language but that's not really relevant but don't expect ordinary BASIC.
Purebasic select case code#
RemoveGadgetItem(4, GetGadgetState(4)) Remove the current element of the ListView1) Form engine/behaviour sucks completely, for example you address controls on a form by setting the form current (it lacks the hWnd CtrlID logic, i may have missed the point here but i could not make head or tail of this kind of logic).Ģ) The PureBasic community is big but nearly all hobbyists, reflects directly on #3ģ) Huge amount of static link libraries but an important one to you may get abandon'd and it happens that no code is available, using those without source reflects the hobby status imo.ġ) The basis of the compiler is that good that i could use it to make my own form engine which appropriate but it can not be shared since no one uses it of course.Ģ) There are a few very good programmers over there, but they tend to lack professionalism, bit difficult to explain but i left the board due to lack of 'sense' for this.ģ) You can't say the developers of PureBasic are lazy, they often bring a new release.Ĥ) License, couldn't be better, it's for life(!) SetGadgetText(0, GetGadgetText(4)) Get the current item from the ListView.ĪddGadgetItem(4, -1, "New Item Added.") MessageRequester("Info", "Return key pressed", 0)ĭisableGadget(2,0) Enable the 'Stop' gadgetĭisableGadget(1,1) Disable the 'Play' GadgetĭisableGadget(1,0) Enable the 'Play' gadgetĭisableGadget(2,1) Disable the 'Stop' Gadget GadgetToolTip(7, "Select the current song")
WindowBounds(0, #WindowWidth, #WindowHeight, #PB_Default, #PB_Default)įrameGadget(99, 10, Top, 370, 290, "Player.") : Top+20 If OpenWindow(0, 100, 200, #WindowWidth, #WindowHeight, "PureBasic - Gadget Demonstration", #PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)