openbox fork to make it act a bit more like ryudo
0352abfa88
Image loading is done using the Imlib2 library. I chose Imlib2 because it's pretty fast, it's easy to use, supports many file formats (tested xpm, gif, jpeg, png) and doesn't introduce too much bloat (it depends :)). I ported the patch to 3.4.7-pre3 and added some enhancements. Caching is much better now, and icons can be disabled at compile time using --disable-imlib2 option. What's new? Syntax of configuration files (namely rc.xml and menu.xml) has been changed slightly to allow users to associate icons to menu entries. This is done by specifying path to icon file in the new "icon" attribute in "<item>" element, e.g: <item label="Vim" icon="/usr/share/pixmaps/vim-32.xpm"> <action name="Execute"><execute>x-terminal-emulator -T Vim -e vim</execute></action> </item> If user doesn't want to display any icons in his user-defined menus, he/she can disable icons in rc.xml, inside "<menu>" section: <menu> ... <showIcons>no</showIcons> ... </menu> Default value is "yes". (New boolean variable "config_menu_user_show_icons" has been added to source code.) An icon is loaded (using menu_item_attach_icon()) when a new entry of menu is created. Fortunately, I haven't notice any performance problems because of this :). |
||
---|---|---|
data | ||
debian | ||
doc | ||
m4 | ||
obrender | ||
obt | ||
openbox | ||
po | ||
tests | ||
themes | ||
tools | ||
.gitignore | ||
AUTHORS | ||
bootstrap | ||
CHANGELOG | ||
COMPLIANCE | ||
configure.ac | ||
COPYING | ||
gettext.h | ||
HACKING | ||
install-sh | ||
makedeb | ||
Makefile.am | ||
README | ||
README.GIT | ||
README.NLS |
Openbox Copyright (C) 2004-2007 Mikael Magnusson Copyright (C) 2002-2007 Dana Jansens ---- This software is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative. ---- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. See the COPYING file for a copy of the GNU General Public License.