hi
im using lsxcommand-2.0.1 to bring up command line upon hitting a hotkey.
I set commandbackground to a pgn where i included a shadow on the edges to match the rest of my theme. unfortunately, i cant figure out how to keep the transparent pixels in the pgn transparent, xpaintclass fills in the transparent pixels with a 'background color'. i cant really use magic pink because that would fill in the shadowed area.
any suggestions?
I don't think you can use alphamapped gfx in lsxcommand, I'm afraid. You can only make the entire thing transparent. The only mention of alpha maps in the docs is this:
CommandTrueTransparency BOOL
If set to TRUE, lsxcommand removes Magic Pink (True Transparency).
If not set or FALSE the DesktopBackground is painted instead.
This enables Fake AlphaMapped lsxcommands (if not Hooked and not AlwaysOnTop)
I don't know exactly what you're trying to do here -- visually I mean -- but couldn't you hook lsxcommand into a label, and let the label provide the alphamapped background?
(sorry if I'm not making perfect sense; I just got up)
Thank you West for the suggestion..
I've never used hooking before (cuz im still pretty newb!) but I'll give it a go and let you know how it goes.
BTW its nice to see that you're active in the community again, I wasn't a litestepper when you were around, im new, but the stuff you left behind is inspiring!
thanks again
Forgot to clean up in the bathroom again, eh West? =P
to clarify what im trying to do visually, its a simple thing..::
win c brings up my draggable lsxcommand edit box and i want it to rest centered on a png that i made, and this png has a sort of shadow effect around the edges. it simply looks like a little rectangle with a shadow.
well i tried to figure out how to hook it to a label but i cant figure it out, it isnt working.
heres my code, i commented out the part where i tried to do hooking cuz it wasnt working. the other stuff that is commented out you can just ignore, it is either old syntax or didnt do what i wanted
________________________
CommandTopBorder 18
CommandBottomBorder 14
CommandLeftBorder 45
CommandRightBorder 20
;CommandTextHeight 50
;CommandTextFontFace "$Font$"
CommandFont "AvantGarde LT Medium Caps"
;CommandFontColor 000000
CommandMoveable
CommandNotAlwaysOnTop
;CommandHiddenOnStart
CommandStartHidden
CommandNoCursorChange
CommandOffsetX 1
CommandOffsetY 1
CommandHideOnUnfocus
;commandTextureAlphaTransparency
CommandPaintingMode .image
CommandImage "lsx_3_effects.png"
;;;;
;*label maxback
;(maxback)image "lsx_3_effects.png"
;*(maxback)ModuleHook !CommandBoxHook
;CommandWaitForBox
;;;;;
;CommandTrueTransparency true
CommandAlphaTransparency 235
commandHideOnEsc
;CommandBackground lsx_back_max.png
;CommandTransparentEditBox
;CommandTime "%#x"
;CommandClockDisappearsOnFocus
;CommandContextMenuAboveBox
__________________________
andymon has posted a solution for me on ls-universe,
thanks to all here that helped me
I wasn't a litestepper when you were around, im new
You must be *really* new then as I was very much around earlier this year ;)
Thanks for your kind words tho'. I appreciate it.
well I became a litestepper last month hehe =]
Haha, OK. Well, welcome to the community then. Good to see you haven't been scared off yet ;)