Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Night skin AND Gamma

  1. #11
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote Originally Posted by kuo
    hey Ol33l, i tried searching around but could not find if you had implemented the night/day skin auto switching for roadrunner using gammacontrol. did i miss it or are you still working on it?
    I'm looking for some XML code so that I can get this whole thing implemented. When I get some code to rear/write/modify XML, then it'll be a matter of days before I get something like this done

  2. #12
    FLAC
    Join Date
    Sep 2004
    Posts
    1,577
    XML bad. Like fire.

    But seriously. Unless it makes something a lot easier (e.g. web services interop)it's a bad choice. All the currently available XML readers are very inefficient. They use a ridiculous amount of memory and cpu. Some of the better (but not freely available) XML readers can chop tens of seconds of app startup (depending on the complexity of the XML). Even for simple XML, the current unmanaged MS XML reading dlls are bloated and slow to page into memory. The managed ones are better but are often the majority of memory churn in managed apps.
    Progress: 80% - Permanent install left.
    Motion LS800 Tablet PC and dock.
    Vista, Bu-535 GPS, RoadRunner, MPT2006.

  3. #13
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    I like XML because it is very organized. So no more confusing INI files with each setting in 20 different places.
    Quote Originally Posted by Arathranar
    XML bad. Like fire.

    But seriously. Unless it makes something a lot easier (e.g. web services interop)it's a bad choice. All the currently available XML readers are very inefficient. They use a ridiculous amount of memory and cpu. Some of the better (but not freely available) XML readers can chop tens of seconds of app startup (depending on the complexity of the XML). Even for simple XML, the current managed MS XML reading dlls are bloated and slow to page into memory. The managed ones are better but are often the majority of memory churn in managed apps.

  4. #14
    FLAC
    Join Date
    Sep 2004
    Posts
    1,577
    That's personal preference. I think it's totally overkill for ini file use and makes things harder for the average person to understand. And if you have an ini file with a setting in 20 different places, you've got a really screwed up design. You can screw an XML schema just as badly - in fact a lot worse since it's more complicated.
    Progress: 80% - Permanent install left.
    Motion LS800 Tablet PC and dock.
    Vista, Bu-535 GPS, RoadRunner, MPT2006.

  5. #15
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote Originally Posted by Arathranar
    That's personal preference. I think it's totally overkill for ini file use and makes things harder for the average person to understand. And if you have an ini file with a setting in 20 different places, you've got a really screwed up design. You can screw an XML schema just as badly - in fact a lot worse since it's more complicated.
    Well, XML is more organized. Like the XML is gonna look like this:
    <GammaControl>
    <NightSkin>
    <RedContrast></RedContrast>
    <RedGamma></RedGamma>
    <RedBrightness></RedBrightness>
    <BlueContrast></BlueContrast>
    <BlueGamma></BlueGamma>
    <BlueBrightness></BlueBrightness>
    <GreenContrast></GreenContrast>
    <GreenGamma></GreenGamma>
    <GreenBrightness></GreenBrightness>
    </NightSkin>
    <DaySkin>
    <RedContrast></RedContrast>
    <RedGamma></RedGamma>
    <RedBrightness></RedBrightness>
    <BlueContrast></BlueContrast>
    <BlueGamma></BlueGamma>
    <BlueBrightness></BlueBrightness>
    <GreenContrast></GreenContrast>
    <GreenGamma></GreenGamma>
    <GreenBrightness></GreenBrightness>
    </DaySkin>
    <NormalSkin>
    <RedContrast></RedContrast>
    <RedGamma></RedGamma>
    <RedBrightness></RedBrightness>
    <BlueContrast></BlueContrast>
    <BlueGamma></BlueGamma>
    <BlueBrightness></BlueBrightness>
    <GreenContrast></GreenContrast>
    <GreenGamma></GreenGamma>
    <GreenBrightness></GreenBrightness>
    </NormalSkin>
    </GammaControl>

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Sony Headunit Skin
    By M^ck^y in forum FP Skins
    Replies: 19
    Last Post: 09-10-2006, 05:33 PM
  2. Gamma AutoSwitch
    By Passe in forum Road Runner
    Replies: 10
    Last Post: 12-28-2005, 08:47 PM
  3. Skins vs Gamma
    By MC_Stoo in forum Road Runner
    Replies: 47
    Last Post: 02-25-2005, 02:15 AM
  4. Another Day/Night Gamma Problem
    By carpcnoobie in forum MediaCar
    Replies: 2
    Last Post: 08-14-2004, 12:52 AM
  5. Mediacar V1.8.5
    By coyote in forum MediaCar
    Replies: 47
    Last Post: 02-16-2004, 02:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •