xmenu: my first project with xlib - Programming On Unix
Users browsing this thread: 1 Guest(s)
|
|||
My question is on drawing on pixmaps.
I am drawing directly on the window, but most code I have seen, such as dmenu(1) and thingmenu(1), all created a pixmap with XCreatePixmap(3), drawn on the pixmap, and then copied the area on the pixmap over the window with XCopyArea(3). Is there any difference from drawing directly on a window than drawing on a pixmap and then copy it to a window? What are Xlib pixmaps used for if I can draw directly on windows? Anyways, I have to do some adjustments on my xmenu(1), such as using XFT fonts, use a beter colorscheme, adjust that ugly triangles, add more options, add keyboard handling, reading colors from Xresources, etc. Did you test it? What did you think about it? I will test your xmenu. Yours receive the options from arguments instead of from stdin, just like thingmenu(1), right? My next projects will be to create a bar, and them a simple WM. (PS: I didn't know you also had a menu called xmenu, sorry for copying you...) |
|||
Messages In This Thread |
xmenu: my first project with xlib - by seninha - 14-05-2020, 06:45 PM
RE: xmenu: my first project with xlib - by z3bra - 14-05-2020, 07:32 PM
RE: xmenu: my first project with xlib - by seninha - 14-05-2020, 08:08 PM
RE: xmenu: my first project with xlib - by venam - 15-05-2020, 02:47 AM
RE: xmenu: my first project with xlib - by z3bra - 15-05-2020, 06:33 AM
RE: xmenu: my first project with xlib - by movq - 15-05-2020, 09:49 AM
RE: xmenu: my first project with xlib - by seninha - 15-05-2020, 10:20 AM
RE: xmenu: my first project with xlib - by venam - 15-05-2020, 03:04 PM
RE: xmenu: my first project with xlib - by seninha - 15-05-2020, 07:29 PM
RE: xmenu: my first project with xlib - by seninha - 18-05-2020, 10:48 PM
RE: xmenu: my first project with xlib - by venam - 19-05-2020, 12:49 AM
RE: xmenu: my first project with xlib - by seninha - 28-07-2020, 03:29 PM
RE: xmenu: my first project with xlib - by opfez - 29-07-2020, 01:17 PM
|