Sorry, I forgot to answer to the list

Eric

--- Begin Message ---
Hello Jan,

Jan Holesovsky a écrit :
Hi,
On Tuesday 23 January 2007 14:00, eric b wrote:
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.


Just to be sure - do you mean the mouse pointer, or the text cursor?

Sorry, I was not precise : first we need the text cursor. For example, when we open an empty writer document, see a usable and blinking cursor would be perfect for us.


After some tries, I think we'll have to implement some methods in
AquaSalFrame ( vcl/aqua/source/window/salframe.cxx ) , like :

AquaSalFrame:SetPointerPos()

This is for mouse pointer.


Ok, noted. Just nothing is implemented yet, and I guess some work is needed too. We really have no precise idea, and I ask because advices will save us a lot of time.


AquaSalFrame:SetCursorPos()

This is for text cursor, and most probably you don't want to change that.

This method is empty, with "implement me" inside :-/
So let's go ...

AquaSalFrame:SetInputContext()
 > This is for input methods if I'm not mistaken.

This method is still empty to. And I wonder if some work is needed or not for that too ..

My current infos are about use (from Apple Carbon API )

 http://developer.apple.com/documentation/UserExperience/Conceptual/
OSXHIGuidelines/XHIGCursors/chapter_15_section_2.html


But it looks like you are interested just in the mouse pointer - then I would start with AquaSalFrame::SetPointer(), and then continue with AquaSalFrame::SetPointerPos().

I thik both : first text cursor, second improve the behaviour with pointer cursor, depending on the context, e.g. using contextual menus, ..etc


SetThemeCursor  ( SetCCursor() and GetCcursor are deprecated for 10.4)
ControlSetCursor()
HandleControlSetCursor()

...

Yes, SetThemeCursor() [http://developer.apple.com/documentation/macos8/HumanInterfaceToolbox/AppManager/ProgWithAppearanceMgr/Appearance.3f.html] seems to be what you want for the implementation of AquaSalFrame::SetPointer().

I think so too. Now we have fill the empty fields (means bind it with vcl thing) :-)


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 ?


Why?

Because (text) cursor usually need both a context and a handler. If I'm not wrong.

 I would just try to map the PointerStyle constants to ThemeCursor
constants.

Ok, so we wil start in this direction, and if nothing works, progressively complete

Hopefully I'm not too wrong ;-)

I don't think so : this is very difficult to find informations when nothing does exist, and I'm glad to have some feedback :-)

Thanks again !!


Regards,
Eric




--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to