[Y-devel] (no subject)
Florian Becker becker at lug-amberg.de
Mon Mar 15 12:48:47 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Montag, 15. März 2004 13:19 schrieb Matthew Allen:
> ---------- Original Message ----------
> To: (fret at memecode.com)
> From: Jost Boekemeier (jost2345 at yahoo.de)
> Subject: [Y-devel] (no subject)
> Date: 15/3/2004 11:52:52p
>
> > > To start with, is there any documentation for Y::Object::setProperty
> > > parameters?
> >
> > Read the source. :)
>
> Ok, thats fine.
>
> > > To map my own cross platform API onto Y I need control over the
> > > positioning and layout myself.
> >
> > Do you want to implement your widgets on the server-side in parallel to
> > the Y standard widgets and extend the network protocol or you want to
> > use a canvas widget?
>
> At the moment I'll use the canvas widget for a client side implementation.
> It'll fit in nicely with how Lgi works on X11 and Win32. It's mostly owner
> drawn there.
>
> To the rest of the list:
>
> I'm a little concerned about the memory usage of lots of canvas windows.
> Should a treat a canvas as a 1:1 entity with a top level window and do all
> my painting / clipping into that to simulate a widget heirarchy or create a
> canvas for every child widget of the top level window?
>
> Also is there any drag and drop API implemented yet?
>
> One thing I really like about the win32 API is that a window has associated
> text with it. This allows any application to read/write a HWND's string.
> This is an important part of interoperability between programs. For
> instance imagine trying to write a generic spell checker program for Y,
> that can spell check any text box. Does the API support getting/setting the
> text of another applications window? Maybe it should.
>
> At least the ARGB component format maps perfectly to Lgi's internal colour
> representation. No tweaking required :)
mh, here will maybe a pixelbuffer - rgbabuffer is writing out at this time.
the unoffices ressource will be found at https://floh.lug-amberg.de/y/
>
> Ok 20 questions (which probably don't have answers but I need answered to
> port Lgi): - How do I query all the installed fonts?
> - How do I retreive the "default font face/pt size/style"?
> - How do I create a font from face/pt size/style/weight etc?
> - How do I measure a utf-8 string for width and height?
> - Can I get a fonts ascent/descent?
> - Can I find out how many characters will fit into a given width?
> - Can I find out the glyphs supported in a given font?
> - How does an application show an icon in the system tray (when there is
> one)?
what did you mean? the icon from Y? cause this is a rgbadata at this time
> - How do I create a client side bitmap that I can do direct pixel
> manipulation on (ie XImage/DIB Section)?
this is not implemntet to Y yet.
> - How do I scroll a bit of onscreen graphics?
???
> - How do I take a screen shot into a memory bitmap I can access?
not implementet yet
> - How do I change the appearence of the cursor over specific parts of a
> widget?
> - How do I grab/capture the mouse to implement a button properly?
> - How can I track all mouse events without "grabbing" the mouse? (essential
> for popup menus) - What sort of charset are keyboard events in? Can I get
> them in unicode? - How do I create a top level window without decor (window
> borders)? - How do I calculate the size of the decor?
> - How do I "hide" a top level window (make invisible)?
> - How do I detect the user clicking the "X" in the top right corner of the
> decor (what event is that)? - How do I get Y to run with hardware support
> so it isn't sooooooo sssssssllllllllllllooooooowwwwwww?
Sorry, but what you want to do is not ready for.
Y is not ready for porting what you want. You first need to implement these
function to the Y core.
Sorry.
>
> regards
> --
> Matthew Allen
> (fret at memecode.com) (https://www.memecode.com)
- --
- --------------------------------------------------------
Florian Becker
PlaaSoft Technologies
Falkenstr. 4
D - 92245 Kümmersbruck
Tel: 09621 782970
Mobil: 0170 7280640
Y Window System
https://www.y-windows.org
subNET
networks for life
becker at subnet33.org
https://www.subnet.ag
https://www.subnet33.org
Linux User Group Amberg
becker at lug-amberg.de
https://www.lug-amberg.de
- --------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAVaYwtdIR2yXuDwERAobdAKDAwVkD45yNCV4EnR0okImY3vZATACeMwYR
oG/vaOtaNRYYbZhBuJU4NeI=
=rpJd
-----END PGP SIGNATURE-----
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved