Hi,
For Aqua version ( on Mac OS X) , we have no cursor available yet
( e.g. in Writer) , and we need more infos, tips and / or instructions.
What +I found is located in Windows implementations, but this is not
well documented, and if someone could provide us tips, ..etc, it
would be great.
After some tries, I think we'll have to implement some methods in
AquaSalFrame ( vcl/aqua/source/window/salframe.cxx ) , like :
AquaSalFrame:SetPointerPos()
AquaSalFrame:SetCursorPos()
AquaSalFrame:SetInputContext()
... etc
My current infos are about use (from Apple Carbon API )
http://developer.apple.com/documentation/UserExperience/Conceptual/
OSXHIGuidelines/XHIGCursors/chapter_15_section_2.html
A very good begining would be to see kThemeIBeamCursor in a white
Writer page ..
After some investigations, the probably helpfull functions are :
SetThemeCursor ( SetCCursor() and GetCcursor are deprecated for 10.4)
ControlSetCursor()
HandleControlSetCursor()
... maybe other, of course, but this is not completely clear yet.
Other relevant infos I found come from vcl/source/window/cursor.cxx
( + corresponding header )
What we need, are infos concerning the logical behind the
implementation :
- do we need to install a Handler ?
- do we need to install specific events ?
- do we need .. anything else ?
Obviously, a detailed list, with some infos, we could recopy to the
current wiki page about cursor implementation would be perfect :-)
Thanks in advance for any information/hint/help !!
Regards,
Eric Bachard