freenode/#mezzano - IRC Chatlog
Search
15:31:07
fittestbits
froggey - any particular reason why the default mouse image is hard coded instead of in a png file?
16:24:03
froggey
so there's always a mouse cursor available from the start, without relying on any external dependencies (like png-read or a filesystem)
16:33:28
froggey
similar to open, there's a directory-using-host generic function you need to implement a method on
16:35:21
froggey
it returns a list of pathnames that match a wild pathname. (directory "*.*") => (#p">foo>bar" #p">foo>baz")
16:38:45
ebrasca
I don't undestand what wild pathname is but sound easy to implement directory-using-host .
16:47:43
fittestbits
Status update - (where I say "working", it's more like "seems like it's working") keyboard input is working, mcclim mouse tracking, left and right clicks working
16:48:48
fittestbits
Mouse cursor - not working - not getting the transparency part right and not "erasing" the old cursor after mouse moves.
16:48:55
froggey
it should be overridable using a graphical theme, but there's no theme support at all... problems for another time
16:50:12
fittestbits
I don't have a lot of confidence that I'm doing the code right. And I'm not surprised the mouse cursor is acting bad - I'm just blitting it to *main-screen*.
16:50:46
fittestbits
I'm trying to figure out how to do it properly - where to add it to the mezzano backend code.
16:51:25
froggey
you shouldn't need to draw the mouse cursor at all, the compositor handles that for you
16:51:27
fittestbits
I still don't have much confidence that I'm on the right path for the code even though it seems to work.
16:53:43
fittestbits
My main display loop is looping over the mcclim mirrors and bliting them to *main-screen* so other than the mirrors, I don't have a backstore to blit
16:54:39
fittestbits
This is what the CLX-fb backend does. Of course it depends on x-windows to do that.
16:55:39
fittestbits
I think it's a backstore for a pane. Especially since I only see panes for my app, no title bar or borders.
16:59:11
fittestbits
I think my next step should be to look into mcclim-desktop and see if I can get that working on sbcl.
17:00:36
fittestbits
That's what my status update above was about. Should have said "status update on getting mcclim running"
17:01:01
froggey
I think the best way to render would be to create compositor windows for each mirror and blit mirrors to the window framebuffers, that way you can rely on the compositor for compositing visible windows & the mouse cursor
17:01:46
jackdaniel
mirror is a native `surface' handler (if it is managed by CLIM it is not a mirror)
17:05:36
fittestbits
froggey - I can go that way create compositor windows and blit the mirrors into them. That means keeping the current "desktop" code.
17:07:03
jackdaniel
I'm not familiar with Mezzano, but using native funcionality where feasible is desireable
17:07:29
froggey
does mcclim-desktop act as a window manager (implements window movement, alt-tab, stuff like that) as well as a way to start applications?
17:08:01
jackdaniel
no, mcclim-desktop is just a set of McCLIM applications meant to provide "desktop" interface
17:08:28
froggey
window management is currently all handled by the compositor. the mezzano desktop application is just a pile of icons and the background image in a fixed-position window
17:13:38
fittestbits
froggey - I'll try to connect mcclim to compositor windows and see how that goes. It's a bit of a different direction, but just getting to where I am has gotten me a little ways up the learning curve for both mezzano and mcclim.
20:08:17
bms_
Well, I'm working on an init file for it. So one could set a default nickname, auto-join list, and so on. Where do you think the init file should go? Same place as init.lisp?