View unanswered posts | View active topics It is currently Tue Feb 09, 2010 4:06 am



Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next
 BbLean 1.17 Beta: Modifications 
Author Message
BBNewborn

Joined: Fri Feb 06, 2009 5:42 pm
Posts: 3
Reply with quote
Post BbLean 1.17 Beta: Modifications
I got the source code of the bblean 1.17 form
http://git.berlios.de/cgi-bin/gitweb.cg ... c82a0abe08

and added some features to it .

090214:

added

menu-icon-Saturation
menu-icon-Hue

support

090208:

support

bbLeanBar.clock.LeftClick
bbLeanBar.clock.RightClick
bbLeanBar.clock.MidClick

in bbleanbar.rc

090206:

1- VolumeControl functions
I modified the code in the bblean mod and add it into the bblean 1.17.
To use the volume bar you just need to add this line to menu.rc:
[volume] (Volume)

2-the switch of menu icons
Image

3-Outline Text support
I add a function into Utils.cpp named BBDrawText() and modified bbleanbar.cpp .
Image

Here is the pack of blackbox.exe and bbleanbar.dll .

Examples:
menu.rc:
Code:
# bblean 1.17 - MENU FILE
# -----------------------------------------------------------------

# Available menu commands are listed in the documentation.

[begin] (bbLean)
    [path] (Start) {STARTMENU|COMMON_STARTMENU} {STARTMENU|COMMON_STARTMENU} <xpsp2res.dll, 1>
    [path] (Desktop) {DESKTOPDIRECTORY|COMMON_DESKTOPDIRECTORY}
    [path] (Quick) {APPDATA\Microsoft\Internet Explorer\Quick Launch}

    [nop]
    [exec] (Explorer) {explorer.exe}
    # Paths with spaces should have quotes:
    # [exec] (Firefox) {"PROGRAM_FILES\Mozilla Firefox\firefox.exe"}
    [submenu] (System)
        [path] (My Computer) {DRIVES}
        [path] (Personal) {PERSONAL}
        [path] (Bitbucket) {BITBUCKET}
        [path] (Controls) {CONTROLS}
        # Uncomment this line to check out all available system folders
        # [include] {shellfolders.rc}
        [run]  (Run)
        [volume] (volume)
        [end]
    [nop]
    [stylesmenu] (Styles) {styles}
    [submenu] (BlackBox)<blackbox.exe,1>
        [config] (Configuration)
        [include] {plugins\bbLeanSkin\bbLeanSkinMenu.rc}
        [submenu] (About)
            [aboutstyle] (About Style)
            [aboutplugins] (About Plugins)
            [about] (About bbLean)
            [end]
        [submenu] (Edit)
            [editstyle] (Current Style)
            [editmenu] (menu.rc)
            [editblackbox] (blackbox.rc)
            [editextensions] (extensions.rc)
            [editplugins] (plugins.rc)
            [edit] (bbKeys.rc) {plugins\bbKeys\bbKeys.rc}
            [end]
        [nop]
        # Also note that relative paths refer to the blackbox directory
        [exec] (Documentation) {docs\bblean.htm}
        [exec] (Install/Uninstall) {bsetshell.exe}
        [nop]
        [reconfig] (Reconfigure)
        [restart] (Restart)
        [exit]  (Quit)
        [end]
    [submenu] (Goodbye)
        [lockworkstation] (Lock)
        [logoff] (Logoff)
        [suspend] (Standby)
        [reboot] (Reboot)
        [shutdown] (Shutdown)
        [end]
[end]


style:
Code:
! Stylefile for blackbox
! Automagically generated by bbstylemaker
!-- info --
style.name: xxxxxx
style.author: bluesewilder
style.date: xxxxxx
style.credits: xxxxxx
!-- background --rootCommand: bsetroot -solid rgb:77/90/aa
!-- toolbar --
toolbar.appearance: flat vertical gradient
toolbar.color1: #f3f3f3
toolbar.color2: #ededed
toolbar.textColor: #000000
toolbar.marginWidth: 0
toolbar.font:宋体
toolbar.font:
toolbar.alignment: center
toolbar.label.appearance: parentrelative
toolbar.label.textColor: #000000
toolbar.label.marginWidth: 2
toolbar.windowLabel.appearance: flat vertical gradient
toolbar.windowLabel.color1: #f3f3f3
toolbar.windowLabel.color2: #ededed
toolbar.clock.appearance: parentrelative
toolbar.clock.textColor: #000000
toolbar.button.appearance: parentrelative
toolbar.button.foregroundColor: #000000
toolbar.button.marginWidth: 0
toolbar.button.pressed.appearance: sunken solid
toolbar.button.pressed.backgroundColor: #a9a9a9
toolbar.button.pressed.foregroundColor: #000000
toolbar.windowLabel.textColor: #7d011c
toolbar.windowlabel.shadowColor: #aaaaaa
toolbar.windowlabel.shadowX: 1
toolbar.windowlabel.shadowY: 1
toolbar.windowLabel.outlineColor: #ffffff
!-- menu --
menu.title.appearance: flat vertical gradient
menu.title.textColor: #7d011c
menu.title.marginWidth: 0
menu.title.font: 宋体
menu.title.fontHeight: 13
menu.title.alignment: center
menu.title.color1: #d9d9da
menu.title.color2: #e8e9e8
menu.frame.appearance: flat solid
menu.frame.backgroundColor: #e8e9e8
menu.frame.foregroundColor: #000000
menu.frame.textColor: #000000
menu.frame.disabledColor: #999999
menu.frame.marginWidth: 0
menu.frame.font: 宋体
menu.frame.alignment: left
menu.active.appearance: flat vertical gradient
menu.active.color2: #e8e9e8
menu.active.color1: #e8e9e8
menu.active.foregroundColor: #7d011c
menu.active.marginWidth: 3
menu.bullet: triangle
menu.bullet.position: right
menu.active.textColor: #7d011c
menu.active.shadowColor: #aaaaaa
menu.active.shadowX: 1
menu.active.outlineColor: #ffffff
!-- window --
window.title.focus.appearance: raised solid
window.title.focus.backgroundColor: #666663
window.title.unfocus.appearance: flat vertical gradient
window.title.unfocus.color1: #f3f3f3
window.title.unfocus.color2: #ededed
window.title.marginWidth: 2
window.label.focus.appearance: parentrelative
window.label.focus.textColor: #ffffff
window.label.unfocus.appearance: flat vertical gradient
window.label.unfocus.color1: #f3f3f3
window.label.unfocus.color2: #ededed
window.label.unfocus.textColor: #000000
window.label.marginWidth: 2
window.handle.focus.appearance: flat solid border
window.handle.focus.backgroundColor: #ddddd7
window.handle.focus.borderColor: #555555
window.handle.focus.borderWidth: 1
window.handle.unfocus.appearance: flat vertical gradient
window.handle.unfocus.color1: #f3f3f3
window.handle.unfocus.color2: #ededed
window.grip.focus.appearance: raised solid border
window.grip.focus.backgroundColor: #777774
window.grip.focus.borderColor: #555555
window.grip.focus.borderWidth: 1
window.grip.unfocus.appearance: parentrelative
window.button.focus.appearance: parentrelative
window.button.focus.foregroundColor: #000000
window.button.pressed.appearance: sunken solid
window.button.pressed.backgroundColor: #a9a9a9
window.button.pressed.foregroundColor: #000000
window.button.unfocus.appearance: parentrelative
window.button.unfocus.foregroundColor: #000000
window.button.marginWidth: 2
window.frame.focus.borderColor: #000000
window.frame.unfocus.borderColor: #000000
window.frame.borderWidth: 1
window.handleHeight: 5
window.font:
window.alignment: center
rootCommand:
slit.appearance: flat vertical gradient
slit.color1: #f3f3f3
slit.color2: #ededed
slit.marginWidth: 2



Attachments:
File comment: blackbox.exe----090214
blackbox.zip [102.13 KiB]
Downloaded 726 times
File comment: bbleanbar.dll----090208
bbLeanBar.zip [48.07 KiB]
Downloaded 553 times


Last edited by coolguy on Sat Feb 14, 2009 7:51 am, edited 2 times in total.

Fri Feb 06, 2009 6:03 pm
Report this post
Profile
Sponsored Links
Google Adsense


Moderator
User avatar

Joined: Sun Dec 05, 2004 10:08 pm
Posts: 754
Location: LA, US
Reply with quote
Post Re: BbLean 1.17 Modifications
Nice. Could you please add text shadows?

[edit]

Never mind, it's already there. Could you add text shadows to grischka's latest bbleanskin?

_________________
My blackbox styles

"Everyone has a talent, what is rare is the courage to follow the talent to the dark place where it leads." - Erica Jong


Fri Feb 06, 2009 8:14 pm
Report this post
Profile WWW
BBSage
User avatar

Joined: Mon Jan 24, 2005 4:36 am
Posts: 93
Reply with quote
Post Re: BbLean 1.17 Modifications
Any Chance of a 64bit build?

_________________
C:\> http://goneashore.blogspot.com


Fri Feb 06, 2009 9:16 pm
Report this post
Profile WWW
BBWise

Joined: Wed Dec 15, 2004 6:02 pm
Posts: 51
Reply with quote
Post Re: BbLean 1.17 Modifications
arcangel33 wrote:
Any Chance of a 64bit build?


I second that!


Sun Feb 08, 2009 1:40 pm
Report this post
Profile
BBAdult
User avatar

Joined: Thu Jun 23, 2005 3:54 am
Posts: 33
Reply with quote
Post Re: BbLean 1.17 Modifications
you might want to give an example menu.rc so we can add the features to our menus


Sun Feb 08, 2009 9:40 pm
Report this post
Profile
BBNewborn

Joined: Fri Feb 06, 2009 5:42 pm
Posts: 3
Reply with quote
Post Re: BbLean 1.17 Modifications
arcangel33 wrote:
Any Chance of a 64bit build?

Sorry . Because I don't have a 64bit PC , I can't make and test the 64bit build programs .


Mon Feb 09, 2009 10:18 am
Report this post
Profile
BBSage
User avatar

Joined: Mon Jan 24, 2005 4:36 am
Posts: 93
Reply with quote
Post Re: BbLean 1.17 Modifications
coolguy wrote:
Sorry . Because I don't have a 64bit PC , I can't make and test the 64bit build programs .
What compiler are you using?

_________________
C:\> http://goneashore.blogspot.com


Tue Feb 10, 2009 10:27 pm
Report this post
Profile WWW
BBNewborn

Joined: Fri Feb 06, 2009 5:42 pm
Posts: 3
Reply with quote
Post Re: BbLean 1.17 Modifications
arcangel33 wrote:
coolguy wrote:
Sorry . Because I don't have a 64bit PC , I can't make and test the 64bit build programs .
What compiler are you using?


I'm using the MinGW .


Tue Feb 10, 2009 11:02 pm
Report this post
Profile
Moderator
User avatar

Joined: Sun Dec 05, 2004 10:08 pm
Posts: 754
Location: LA, US
Reply with quote
Post Re: BbLean 1.17 Modifications
This mod breaks bbstylemaker compatibility.

_________________
My blackbox styles

"Everyone has a talent, what is rare is the courage to follow the talent to the dark place where it leads." - Erica Jong


Wed Feb 25, 2009 12:58 am
Report this post
Profile WWW
Moderator

Joined: Tue Jan 25, 2005 1:13 am
Posts: 593
Reply with quote
Post Re: BbLean 1.17 Modifications
Excellent work. Can you add 4-color split gradients?


Wed Feb 25, 2009 8:50 am
Report this post
Profile
Reply with quote
Post Re: BbLean 1.17 Modifications
can you add support for broams volume control in vista (like boxcore does)?


Wed Mar 11, 2009 4:25 am
Report this post
BBDinosaur

Joined: Fri Jun 23, 2006 2:41 pm
Posts: 231
Location: China
Reply with quote
Post Re: BbLean 1.17 Modifications
He go back to high school.
So, it's gonna be a while for updating.

_________________
bblean in China(Chinese): http://www.deepin.org/forum-382-1.html
My blog(Chinese): http://hi.baidu.com/bluesewilder/blog


Thu Mar 12, 2009 11:28 am
Report this post
Profile
BBChild

Joined: Tue Jun 12, 2007 9:51 am
Posts: 8
Reply with quote
Post Re: BbLean 1.17 Modifications
Hi,
Great work. I have just one suggestion (actually it may not apply to you). The shadows are using Unicode while notmal texts do not (please look at attached picture). This applies to all text (clock, menus...). Can you fix it or should I send this to Bblean 1.17 author?


Attachments:
clock.png
clock.png [ 825 Bytes | Viewed 6226 times ]
Wed Mar 18, 2009 6:55 am
Report this post
Profile ICQ
Reply with quote
Post Re: BbLean 1.17 Modifications
cthu1hu wrote:
This mod breaks bbstylemaker compatibility.

What do you all guys have with this "break bbstylemaker compatibility"? What's wrong about that?


Mon Apr 13, 2009 4:15 pm
Report this post
Moderator
User avatar

Joined: Sun Dec 05, 2004 10:08 pm
Posts: 754
Location: LA, US
Reply with quote
Post Re: BbLean 1.17 Modifications
Guest wrote:
cthu1hu wrote:
This mod breaks bbstylemaker compatibility.

What do you all guys have with this "break bbstylemaker compatibility"? What's wrong about that?

Only that it's the greatest invention since sliced bread. And you can't use it at all in any of the mods. Granted, it's not a big deal unless you're a style making obsessed lunatic.

_________________
My blackbox styles

"Everyone has a talent, what is rare is the courage to follow the talent to the dark place where it leads." - Erica Jong


Mon Apr 13, 2009 11:49 pm
Report this post
Profile WWW
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.