C++ non, j'ai fait que du C; sql aucun soucis, en fait j'utiliserai qu'un seul champ dans une table que je metterai à jour manuellement via php
Je viens de tomber sur un freeware "Kapsules" apparament qui utilise une fichier config qui à l'air d'etre formaté comme un xml et un autre basé sur VB apparament pour la selection d'info
Jme trompe de cat si je pars dans cette branche
Code :
- ex du config:
- <widgetroot>
- <kapinfo><!-- This section for required Widget information -->
- <name>Kapsules Lemming</name>
- <author>Andrew Powell</author>
- <about>Kapsules Lemming is the ULTIMATE widget (Completely useless). Open the widget, abuse nvidhive (irc.freenode.net #geoshell) and enjoy!</about>
- <versiondate>9/16/2005</versiondate>
- <version>1.0.0</version>
- <engine>VBScript</engine>
- <verdep>0.9.8.0</verdep>
- <website>http://www.kwidgets.com</website>
- <email>kapsules@shellscape.org</email>
- </kapinfo>
- <!-- This section for required Configuration of Widget by Kapsules -->
- <kapconfig>
- <trans>44</trans>
- <level>1</level>
- <width>231</width>
- <height>198</height>
- <x>709</x>
- <y>515</y>
- <locked>0</locked>
- <clickthrough>0</clickthrough>
- <colorize>0</colorize>
- <hsl>#FF9900</hsl>
- </kapconfig>
- <!-- This section for Kapsules Widget config Dialog -->
- <widgetdialog>
- </widgetdialog>
- </widgetroot>
- exemple du .kap (vb)
- Option Explicit
- Dim ImageLemming
- Dim Sounds(4)
- Sub Widget_Activate()
- Set ImageLemming = Graphics.LoadImage(Info.WidgetPath & "Resources\lemming.png" )
- Sounds(0) = Info.WidgetPath & "Resources\deplemming.wav"
- Sounds(1) = Info.WidgetPath & "Resources\lemmingtwist.wav"
- Sounds(2) = Info.WidgetPath & "Resources\die.wav"
- Sounds(3) = Info.WidgetPath & "Resources\yippee.wav"
- Sounds(4) = Info.WidgetPath & "Resources\ohno.wav"
- Widget.Width = ImageLemming.Width
- Widget.Height = ImageLemming.Height
- Widget_Paint
- End Sub
- Sub Widget_Deactivate()
- ImageLemming.Dispose()
- End Sub
- Sub Widget_ConfigChange()
- End Sub
- Sub Widget_Paint()
- Graphics.Clear
- Graphics.DrawImage ImageLemming, 0, 0
- Widget.UpdateWidget
- End Sub
- Sub Widget_OnDoubleClick
- Widget.PlayWav Sounds(RandomNumber(4))
- End Sub
- Function RandomNumber(intHighestNumber)
- Randomize
- RandomNumber = Int(intHighestNumber * Rnd) + 1
- End Function
|
Message édité par duckxks le 15-05-2006 à 18:50:55