Hi,
I'm trying to make a gamma slider in AGS 2.7 but it doesn't seem to recognize 'System' :(
if (System.SupportsGammaControl = true) {
SystemGamma == sldGamma.Value
}
else
{
sldGamma.Enabled = false;
}
System DOT Gamma
oh right, I've made a typo there... but it still doesn't recognize System =(
Where did you get that code from?
After a quick look at 2.7's manual I get it doesn't seem to support a custom gamma setting.
Edit: System.Gamma was added when 2.72 went from beta 6 to beta 7 ::)
Why are you still using such an outdated version anyway?
If you dislike 3, that's fine, but why not work with 2.72 then?
Sorry for the inconvience. I thought I had the newest version before 3. It works now
if (System.SupportsGammaControl == true) {
System.Gamma == sldGamma.Value
}
else
{
sldGamma.Enabled = false;
}
I think ags 2.72 supports.. but check the first line, (you forgot a =
I actually copied the code from your old thread lol ;)
anyway it works now.
Quote from: Buckethead on Fri 07/11/2008 10:41:48
I actually copied the code from your old thread lol ;)
anyway it works now.
That sort of explains , why I got some PM's about the slider...thanks for hanging me Bucket..actually question does it work on 3.0 or 2.72 or both?
It works on both 2.72 and 3. Just not on any version lower then 2.72