[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] XaAES and objc_xedit
As I was thinking about it a little more I think that the matter would
need even some changes to the API.
The problem is that at this point it is not easily possible to call the
objc_edit() so that it would just 'redraw' the OBJECT including the
text editing cursor. The objc_xedit() is fine in case there is
just one rectangle you need to update.
But considering there could be a possibility to edit text fields in the
background located window for example it might be needed some of the
* to have objc_*edit*() equivalent that is able to accept an array
of clipping rectangles
* or create some sort of objc_xedit() redraw only API variation which
could be called several times with different rectangles to update
the cursor correctly).
> -----Original Message-----
> From: Standa Opichal [mailto:firstname.lastname@example.org]
> Sent: Sunday, February 26, 2006 2:24 PM
> To: 'email@example.com'
> Subject: RE: [MiNT] XaAES and objc_xedit
> > > In general I am lacking the possibility to do objc_edit()
> > which would
> > > not draw the cursor if it is to be placed out of some
> > drawing rectangle.
> > > Am I missing something? I can see in the XaAES sources that
> > it should
> > > be pretty easy to implement (just the API wrapper AFAICS). Ozk?
> > You cannot use objc_wedit()? This is supported.
> I don't have WINDOW handle in my case... well in fact I do, but I'd
> like to clip with something I have more control over (not just AES
> window rectangle).
> > > The other question is how to detect that such a function is
> > > available. TOS.HYP says from MagiC 2.0. There is also the
> > > which has a bit in the appl_getinfo() which might be
> perhaps reused
> > > for this one too?
> > I will implement objc_xedit(), as this is very easy to do.
> Great, thanks!
> > But right now I'm doing heavy work on XaAES, so this may
> take a while.
> > And I think we can reuse the appl_getinfo() to indicate
> support for this,
> > altho I've not looked at that yet...
> No problem, no rush.
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email