Code: Select all
module com.livecode.extensions.xyz.uicontrol
use com.livecode.canvas
use com.livecode.engine
public handler AdjustColorForEnabledState(in pColor as Color, in pEnabled as Boolean) returns Color
if pEnabled then
set the alpha of pColor to 1
else
set the alpha of pColor to 0.5
end if
end handler
end module
Code: Select all
12:13 AM: Fetching metadata from /Users/xyz/lc-modules/UIControl/manifest.xml
12:13 AM: Error: couldn't retrieve extension type from manifest /Users/xyz/lc-modules/UIControl/manifest.xml
12:13 AM: Error: Could not compile module /Users/xyz/lc-modules/UIControl