Got an idea for enhancing PureBasic? New command(s) you'd like to see?
DoubleDutch
Addict
Posts: 3220 Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:
Post
by DoubleDutch » Wed May 18, 2011 7:03 pm
In canvas you can set the cursor to:
Code: Select all
#PB_Cursor_LeftRight: left and right arrows
#PB_Cursor_UpDown : up and down arrows
But not to the two different diagonals... these are needed to show diagonal stretches within the canvas.
Maybe this is an oversight? Will this be possible in the release version?
freak
PureBasic Team
Posts: 5940 Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany
Post
by freak » Wed May 18, 2011 7:35 pm
They don't exist as a standard cursor on all OS, that is why i left them out.
quidquid Latine dictum sit altum videtur
DoubleDutch
Addict
Posts: 3220 Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:
Post
by DoubleDutch » Wed May 18, 2011 8:11 pm
I see. Could you not put it in even if it only exists on one OS, similar to what you did with:
Code: Select all
#PB_Cursor_Arrows : arrows in all direction (not available on Mac OSX)
At least then Windows programs may have it...
PMV
Enthusiast
Posts: 727 Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany
Post
by PMV » Thu May 19, 2011 9:51 pm
freak wrote: They don't exist as a standard cursor on all OS, that is why i left them out.
There are some other windows only features, so i doesn't think this is a reason.
Frabbing
User
Posts: 10 Joined: Mon May 09, 2011 7:59 pm
Contact:
Post
by Frabbing » Wed Jul 06, 2011 5:53 pm
I need the two diagonal-cursors, too. Please build in.
Best regards,
Frank
Franky
Enthusiast
Posts: 213 Joined: Sat Apr 26, 2003 2:58 pm
Post
by Franky » Sat Jul 09, 2011 7:29 pm
Wouldn't it be easier, just to add a custom-Cursor-Function like in Toolbars? Just an idea.
Give Up everything but trying!
freak
PureBasic Team
Posts: 5940 Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany
Post
by freak » Wed Aug 17, 2011 10:02 pm
I added the diagonal cursors, but it will only work on Windows. Dunno why the other OS do not have default cursors for this.
quidquid Latine dictum sit altum videtur
DoubleDutch
Addict
Posts: 3220 Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:
Post
by DoubleDutch » Wed Aug 17, 2011 10:23 pm
Will you be able to add a way to point to a custom cursor - so on the other os we can add it?
freak
PureBasic Team
Posts: 5940 Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany
Post
by freak » Wed Aug 17, 2011 10:31 pm
Yes, you can add a custom cursor, but you will have to load/create it through non-PB means first. I thought about adding a full 'Cursor' library, but its a bit overkill if the CanvasGadget is the only place where you can use it so I decided against that. Maybe in a future PB version.
quidquid Latine dictum sit altum videtur
DoubleDutch
Addict
Posts: 3220 Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:
Post
by DoubleDutch » Wed Aug 17, 2011 10:35 pm
In the long term that would be good. One to add for the roadmap.