OK, so since I’m helping fix up the demo(s) for Phoenix, in this journey
I have finally come time to do the Cursor.py demo.
Well, when it came to this subject I noticed the lack of custom cursor examples,
which is usually what is used in graphics apps and other custom functionality with other widgets.
So… I needed a decent test cursor. Lo and behold most all cursors found around the net are GPL,
which doesn’t fly for PyEmbeddedImages and Including with the demo.
So, I looked at KDE Crystal and Oxygen, only to find that the only the icons were LGPL, but not the cursors.
Strange, but true.
So I photoshoped up my own little similar fancy vector shape with style,
that will have a better embeddable license, free for anyone to do whatever with(including embed in their app). Funny that Microsofts Default Cursor still blows after all these years.
PaperAirPlane style. Made .ani, cur, .png, and PyEmbeddableImage. (.apng and .gif still to come yet, maybe if I can find a way to support them for cursors…)
Ones With transparency also, as to stop living in the gif(quality) age of animated cursors/images.
Anyhow, Every Decent Cursor App has a “Cursor Test Panel” with various widgets to test on,
so I made a decent one to replace the bland old single window one.
OK, so now it is showtime right, and It’s running fine, until I noticed a verrry small(1px size issue)
but blatant issue that needs addressed in some way.
What is this issue you may not notice…???
It has to do with the wx.BORDER_SIMPLE wx.Window style(s) bits.
If you look carefully when passing the cursor over the edge of the Window Border(this happens with the TextCtrl, SpinCtrl borders too),
that the cursor reverts back to the default cursor, when it should be the custom one.
This is more obvious with the wx.CURSOR_CROSS(Ex: as users are trying to precisely start or end a drag at a certain point; think GIMP/Photoshop rectangular marquee tool)
Or is there some way to override this behavior as it apparently seems that the window border style is a wx.Window of it’s own somehow…???
See Attachment. Preview Includes: New PaperAirPlane Cursors, New run.py and New Cursor.py
The Demo is cross compatible with Classic and Phoenix and runs with wx from 2.8 to 3.0
at least until I get to cleaning it up only for Phoenix. So no worries about running it(on windows anyway…)
haven’t tested on linux or mac yet.
@ Robin/Others: Any Ideas on a fix…?
Cursor_MCow.7z (18.4 KB)