Centrafuse Carputer, CarPC & UMPC Forums

Go Back   Centrafuse Carputer, CarPC & UMPC Forums > 3rd Party Development > Skinning Discussions

Skinning Discussions All things skin related


Reply
 
LinkBack Thread Tools Display Modes
Old May 30th, 2008, 07:14 PM   #11 (permalink)
10 Farad - Flux Capacity
nintwala's CarPC Specs
 
nintwala's Avatar
 
Join Date: Nov 2006
Location: RI, USA
Vehicle: 03 Accord EX
Posts: 1,407
nintwala is just really nicenintwala is just really nicenintwala is just really nicenintwala is just really nicenintwala is just really nice
Quote:
Originally Posted by Zorro View Post
Yes there is a way for 2.0, not for 1.4x, which makes it impossible right now to add this feature.
I will move all my plugins to 2.0 soon (which means 1.4x will not be supported anymore).
Is it possible to check for the CF version information in the code? So, if its 2.0 or above, it will do some method to disable gestures. If not, it will ignore it.
__________________
~~~*~~~*~~~*~~~*~~~*~~~*~~~
Dont believe everything I say... I dont work for FluxMedia. Just helping out...

Modified Volume plugin - Please Vote

New Car2PC Plugin
- by Nerve

Aura BW Skin
- A twist to the Aura skin

CarPC Project
nintwala is offline   Reply With Quote
Old May 30th, 2008, 08:14 PM   #12 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Quote:
Originally Posted by malaki86 View Post
Now - can ya come up with one to disable my screensaver & display power management while the vehicle is in motion? Or even just disable it while CF is running?
Nope.


__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old May 30th, 2008, 08:17 PM   #13 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Quote:
Originally Posted by nintwala View Post
Is it possible to check for the CF version information in the code? So, if its 2.0 or above, it will do some method to disable gestures. If not, it will ignore it.
Don't you think, if there was a way I would have done it in first place?


__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old May 30th, 2008, 08:40 PM   #14 (permalink)
10 Farad - Flux Capacity
nintwala's CarPC Specs
 
nintwala's Avatar
 
Join Date: Nov 2006
Location: RI, USA
Vehicle: 03 Accord EX
Posts: 1,407
nintwala is just really nicenintwala is just really nicenintwala is just really nicenintwala is just really nicenintwala is just really nice
Quote:
Originally Posted by Zorro View Post
Don't you think, if there was a way I would have done it in first place?


I shouldn't have doubted the mighty Zorro.

My apologies.
__________________
~~~*~~~*~~~*~~~*~~~*~~~*~~~
Dont believe everything I say... I dont work for FluxMedia. Just helping out...

Modified Volume plugin - Please Vote

New Car2PC Plugin
- by Nerve

Aura BW Skin
- A twist to the Aura skin

CarPC Project
nintwala is offline   Reply With Quote
Old May 31st, 2008, 01:40 AM   #15 (permalink)
Moderator
MarcelP's CarPC Specs
 
MarcelP's Avatar
 
Join Date: Nov 2007
Location: Germany, Löbau
Vehicle: Fiat Stilo (5D) 1.9JTD 115HP
Posts: 2,170
MarcelP is a name known to allMarcelP is a name known to allMarcelP is a name known to allMarcelP is a name known to allMarcelP is a name known to allMarcelP is a name known to all
Send a message via ICQ to MarcelP Send a message via AIM to MarcelP Send a message via Skype™ to MarcelP
Thanks Zorro, great work!
__________________
Actual CF3 Skin Projects:
DMK I/O Board * Aqua (92% done!) * DirectAccess * Aura (98% done!) * FIMP * iDrive * Dot-Matrix
MarcelP is offline   Reply With Quote
Old June 2nd, 2008, 03:42 AM   #16 (permalink)
10 Farad - Flux Capacity
 
Zerach's Avatar
 
Join Date: Oct 2005
Location: Vancouver, Canada
Vehicle: Acura RSX Type-S
Posts: 357
Zerach has a spectacular aura aboutZerach has a spectacular aura aboutZerach has a spectacular aura about
Quote:
Originally Posted by Zorro View Post
Don't you think, if there was a way I would have done it in first place?




Whoah! Was that a cranky day or does your ego need a little whittling?

Let me provide the code to do so...it's not at all as clean as I'd like it but it does the job.

Your going to have to port the few lines from Delphi.net to your language of choice...

Code:
Plugin_Init
...
DLLVersion:=Test.LoadFrom('C:\Program Files (x86)\Flux Media\Centrafuse\cfplugin.dll').GetName.Version.major.ToString;

Test.free \\we really don't need this anymore, free up some memory

\\DLLVersion is a string Test is Class System.Reflection.Assembly  I use major version you could use version.minor as well for future bulids
...

Plugin_Show
...
    if DLLVersion = '2' then
    Begin
     CF_SetGraffitiRecognition(False);
    End;
...


//Then create an close button action to CF_SetGraffitiRecognition(True)

Plugin_Close
...
    if DLLVersion = '2' then
    Begin
     CF_SetGraffitiRecognition(True);
    End;
Think this will do what you want it do, works for me.
__________________
Development Effort:
DSATX Plugin 1.01 [---------|] 99.9% (CF3.1)
CentraSkin Editor V.70 [-|--------] 20%
Get CentraSkin V.601!!!!

If you like what you see, Please support my development efforts
Zerach is offline   Reply With Quote
Old June 2nd, 2008, 05:32 AM   #17 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Quote:
Originally Posted by Zerach View Post
Whoah! Was that a cranky day or does your ego need a little whittling?
Think this will do what you want it do, works for me.
Neither the one nor the other.
As .NET loads the plugin it'll check the existance of the methods used against the referenced assemblies and since the graffiti methods don't exist in 1.47 it'll raise an Thread exception and the whole plugin becomes "invalid".
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old June 2nd, 2008, 10:42 AM   #18 (permalink)
10 Farad - Flux Capacity
nintwala's CarPC Specs
 
nintwala's Avatar
 
Join Date: Nov 2006
Location: RI, USA
Vehicle: 03 Accord EX
Posts: 1,407
nintwala is just really nicenintwala is just really nicenintwala is just really nicenintwala is just really nicenintwala is just really nice
Once everyone and everything is switched over to CF 2.0 everything will be A-OK.

No need to stress over my silly issue. I have patience... I think somewhere... I just have to find it.
__________________
~~~*~~~*~~~*~~~*~~~*~~~*~~~
Dont believe everything I say... I dont work for FluxMedia. Just helping out...

Modified Volume plugin - Please Vote

New Car2PC Plugin
- by Nerve

Aura BW Skin
- A twist to the Aura skin

CarPC Project
nintwala is offline   Reply With Quote
Old June 3rd, 2008, 03:57 AM   #19 (permalink)
10 Farad - Flux Capacity
 
Zerach's Avatar
 
Join Date: Oct 2005
Location: Vancouver, Canada
Vehicle: Acura RSX Type-S
Posts: 357
Zerach has a spectacular aura aboutZerach has a spectacular aura aboutZerach has a spectacular aura about
Quote:
Originally Posted by Zorro View Post
Neither the one nor the other.
As .NET loads the plugin it'll check the existance of the methods used against the referenced assemblies and since the graffiti methods don't exist in 1.47 it'll raise an Thread exception and the whole plugin becomes "invalid".
Ahh I see...I thought you were saying you could not turn off grafitti. I did not check the lower CF plugin out.

You could always go with a simple solution and build 2 different dll's one for 1.47 and one for 2.0. You could even go farther and create a dll which checks the CFPlugin.dll version and then loads the correct assembly for your dll in plugininit and executes the correct procedures.

I'm going to have to try a few things out now, got me curious

Quote:
Once everyone and everything is switched over to CF 2.0 everything will be A-OK.

No need to stress over my silly issue. I have patience... I think somewhere... I just have to find it. Yesterday 02:32 AM
Oh pish posh....stoking the fires for debate in the name of one up-manship is what makes life worth living....programming worth doing and competition worth competing in.

No Harm no foul, no ones stressing...at least I hope not
__________________
Development Effort:
DSATX Plugin 1.01 [---------|] 99.9% (CF3.1)
CentraSkin Editor V.70 [-|--------] 20%
Get CentraSkin V.601!!!!

If you like what you see, Please support my development efforts
Zerach is offline   Reply With Quote
Old June 3rd, 2008, 09:40 AM   #20 (permalink)
10 Farad - Flux Capacity
nintwala's CarPC Specs
 
nintwala's Avatar
 
Join Date: Nov 2006
Location: RI, USA
Vehicle: 03 Accord EX
Posts: 1,407
nintwala is just really nicenintwala is just really nicenintwala is just really nicenintwala is just really nicenintwala is just really nice
hmmm.... pish posh.... Its been a very long time since I have heard that term.
__________________
~~~*~~~*~~~*~~~*~~~*~~~*~~~
Dont believe everything I say... I dont work for FluxMedia. Just helping out...

Modified Volume plugin - Please Vote

New Car2PC Plugin
- by Nerve

Aura BW Skin
- A twist to the Aura skin

CarPC Project
nintwala is offline   Reply With Quote
Reply

Bookmarks

Tags
plugin, skinbrowser

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2009 Flux Media, Inc. All rights reserved.Ad Management plugin by RedTyger