New updates to the project!
First off there is a small library that needs to be installed first as this will provide the various widgets for the desktop, window manager and the soon to come panel and dock, I have decided to drop thje use of the athena widget set as although they are always available and pretty lightweight they are awkward to theme and don't look very good.
At the momenty the toolkit only includes three widgets and some general routines, this toolkit is in noway meant to be a full fleged widget set, just the ones you need to run the desktop.
Download the tool kit here:
https://dl.dropboxusercontent.com/s/...t-0.0.5.tar.gz
Build and install the same as the other bits with
Code:
./autogen.sh --prefix=/usr
make
sudo make install
Changelog:
0.0.5
Fixed double free of line edit data.
Added keep above and sicky windows.
Fixed window gravity not working.
Fixed pager not showing window.
Now supplies relevent event to class event handlers.
Event hanlers now return a bool - true=event handled, false=pass it along.
Callbacks now return a bool.
Labels now default to centre.
Removed linking to unused libs.
0.0.4
Line edit now scolls correctly.
Added paste ( ctl-v ) to line edit.
Added cursor keys to line edit.
All button clases now inherit from base gadget class.
Added line edit class.
Added base gadget class.
0.0.3
Fixed not setting proper colours.
Added menuitem font and colours.
Fixed random setting font segfault.
Fixed font not being set.
Added setting global colours previously loaded from prefs file to button classes.
Added setting global colours from prefs file to window class.
0.0.2
Removed setting colours on create button class.
Added set colours for menuitems.
Added init buttons to set default colours.
Added buttons inherit colours from main window.
Added menu button.
Added general purpose button.
Added mainwindow.
This MUST be installed first, you may also need to run the 'ldconfig' command.
N.B.
When using the entry box in the custom icon dialog please note that full editing is not available, ie you cant copy/paste with the mouse but you can use ctrl-v to paste the clipboard, home/end work as expected, line edit functioanlity will be expanded on later.
Update to LFSDesktop here:
https://dl.dropboxusercontent.com/s/...-0.0.11.tar.gz
Changelog
0.0.11
Updated licence stuff at top of file.
Removed externel icon dialog box.
Removed unneeded libs.
Dialog boxes use the new toolkit.
Added LFSToolKit library.
Added Xft lib.
Made showing 'Appmenu' on right click on desktop optional, default=noshow, now moved to the window manager as it should be.
Update to LFSWindowManager here:
https://dl.dropboxusercontent.com/s/...-0.0.13.tar.gz
Changelog
0.0.13
Command line can overide ( some ) theme settings.
Added -k option to prevent reading of options from ~/.config/LFS/lfstoolkit.rc.
Added -X option to command line to set text/button colour.
Text colour and menu buttons now use the same colours.
Can now set the menu button colour when not using theme.
Butons on inactive windows now use inactive colours.
Window name now in white same as buttons.
Redone non-themed window name.
Removed unneeded creation/deletion of GC's.
Redone non-themed buttons.
Redone non-themed window borders.
Fixed minor refresh bug in appmenu.
Appmenu now uses global colours from ~/.config/LFS/lfstoolkit.rc
Added 'Appmenu'.
Added linking to LFS Tool Kit library.
N.B.
Some of the naming of the configs have changed so please alter your config file, example:
Code:
placement 2
titlefont sans:size=10
desktops 6
liveupdate 10
theme /home/keithhedger/.themes/OldBrownWood
termcommand xfce4-terminal -x
wmactive_frame #948069
wmactive_fill #5E3300
wminactive_frame #9B9184
wminactive_fill #836C51
widgetcolour white
There is now a global config file at "~/.config/LFS/lfstoolkit.rc" this will slowly replace the individual config files, heres an example ~/.config/LFS/lfstoolkit.rc:
Code:
window_normal #5E3300
window_prelight #6B4C26
window_active #412502
button_normal #5E3300
button_prelight #6B4C26
button_active #412502
menuitem_normal #cf944e
menuitem_prelight #794513
menuitem_active #412502
menuitem_font sans-serif:size=8
menuitem_font_normal black
menuitem_font_prelight white
menuitem_font_active white
font sans-serif:size=8
font_normal white
font_prelight grey
font_active white
wmactive_frame #948069
wmactive_fill #5E3300
wminactive_frame #9B9184
wminactive_fill #836C51
widgetcolour white
theme /home/keithhedger/.themes/OldBrownWood
The last lines will override the configs in the "~/.config/LFS/lfswmanager.rc" file unless the -k option is given to lfswmanager.
Screen shots of the new widgets here:
https://dl.dropboxusercontent.com/s/...ncn/scrn14.jpg
https://dl.dropboxusercontent.com/s/...o5m/scrn15.jpg
Enjoy!