|
ALPHA 2 RELEASE |
Inherits centrafuse::Plugins::CFPlugin.

Public Types | |
| enum | CFPowerModes { Resume, StatusChange, Suspend } |
PowerModes. More... | |
| enum | FormWindowState { Maximized, Normal, Minimized } |
FormWindowState. More... | |
Public Member Functions | |
| void | CF_setListFocus () |
| FormWindowState | CF_getWindowState () |
| void | CF_setWindowState (FormWindowState state) |
| Set Centrafuse window state. | |
| void | CF_resetAutoHideTimer () |
| Reset auto hide timer used for dialogs. | |
| bool | CF_getGraffitiStylusDown () |
| Get graffiti stylus flag. | |
| bool | CF_getGraffitiStatus () |
| Get graffiti status. | |
| CF_Actions | CF_systemGetCurrentLocation (out string param1) |
| Get current location. | |
| Font | CF_getFont (string fontname, float fontsize, System.Drawing.FontStyle fontstyle) |
| Get font. | |
| void | CF_systemCommand (CF_Actions command, string param1, string param2, string param3, string param4) |
| Performs system command. | |
| CFComPort[] | CF_getSerialPorts () |
| Gets available serial ports. | |
| bool | CF_getGPSVisible () |
| Gets GPS visible status. | |
| bool | CF_getMuteStatus () |
| Gets mute status. | |
| bool | CF_getConnectionStatus () |
| Returns internet connection status. | |
| Rectangle | CF_createRect (int x, int y, int width, int height) |
| Creates a properly sized rectangle based on current resolution. | |
| Rectangle | CF_createRect (Rectangle rect) |
| Creates a properly sized rectangle based on current resolution. | |
| Rectangle | CF_createRect (Rectangle rect, bool applydisplaynumber) |
| Creates a properly sized rectangle based on current resolution. | |
| DialogResult | CF_systemDisplayDialog (CF_Dialogs dialog, string displaytext) |
| DialogResult | CF_systemDisplayDialog (CF_Dialogs dialog, string displaytext, out string resultvalue, out string resulttext) |
| Displays system dialog. | |
| DialogResult | CF_systemDisplayDialog (CF_Dialogs dialog, string displaytext, string param, out string resultvalue, out string resulttext) |
| Displays system dialog. | |
| DialogResult | CF_systemDisplayDialog (CF_Dialogs dialog, string displaytext, string param, out string resultvalue, out string resulttext, bool showfiles, bool browseable, bool showextension, bool enablesubactions) |
| Displays system dialog. | |
| DialogResult | CF_systemDisplayDialog (CF_Dialogs dialog, string displaytext, string param, string param2, out string resultvalue, out string resulttext) |
| Displays system dialog. | |
| DialogResult | CF_systemDisplayDialog (CF_Dialogs dialog, string displaytext, string param, string param2, out string resultvalue, out string resulttext, bool showfiles, bool browseable, bool showextension, bool enablesubactions) |
| Displays system dialog. | |
| DialogResult | CF_systemDisplayDialog (CF_Dialogs dialog, string displaytext, string param, string param2, out string resultvalue, out string resulttext, CFControls.CFListViewItem[] listitems) |
| Displays system dialog. | |
| DialogResult | CF_systemDisplayDialog (CF_Dialogs dialog, string displaytext, string param, string param2, out string resultvalue, out string resulttext, out object resultobject, CFControls.CFListViewItem[] listitems, bool showfiles, bool browseable, bool showextension, bool enablesubactions, bool fireforwardback, bool fireplusminus, int display) |
| DialogResult | CF_displayMessage (string message) |
| Display a message with the OkBox. | |
| DialogResult | CF_displayMessage (string message, int display) |
| Display a message with the OkBox. | |
| void | CF_textToSpeech (string text) |
| Converts text to speech. | |
| void | CF_textToSpeech (string text, bool synchronous) |
| Converts text to speech. | |
| void | CF_textToSpeechStop () |
| Stops text to speech. | |
| bool | CF_getConfigFlag (CF_ConfigFlags configflag) |
| Gets system configuration flag. | |
| bool | CF_getCallStatus () |
| Get phone call status. | |
| void | CF_setConfigFlag (CF_ConfigFlags configflag, bool flag) |
| Sets system configuration flag. | |
| string | CF_getConfigSetting (CF_ConfigSettings configsetting) |
| Gets system configuration setting. | |
| void | CF_setConfigSetting (CF_ConfigSettings configsetting, string value) |
| Sets system configuration setting. | |
| bool | CF_getCDRipState () |
| Sets system general setting. | |
| string | CF_getPluginData (string plugin, string command, string param) |
| Gets system configuration setting. | |
| int | CF_getAudioLevel (CF_AudioLevels audiolevel) |
| Gets audio level, value between -15 and 15. | |
| void | CF_setAudioLevel (CF_AudioLevels audiolevel, int level) |
| Sets audio level, value between -15 and 15. | |
| float | CF_getMixerLevel (int mixerdevice, int mixerinput, bool recordingdevice) |
| Gets mixer level,. | |
| void | CF_setMixerLevel (int mixerdevice, int mixerinput, int mixerlevel, bool recordingdevice) |
| Sets mixer level, value between 0 and 65535. | |
| void | CF_setMixerLevel (int mixerdevice, int mixerinput, int mixerlevel, bool showdialog, bool recordingdevice) |
| Sets mixer level, value between 0 and 65535. | |
| void | CF_setMixerMute (int mixerdevice, int mixerinput, bool mixermute) |
| Mutes mixer device. | |
| void | CF_setMixerMute (int mixerdevice, int mixerinput, bool mixermute, bool recordingdevice) |
| Mutes mixer device. | |
| void | CF_setMixerRecordSelection (int mixerdevice, int mixerinput) |
| Sets record selection. | |
| void | CF_startRecordVoice (int mixerdevice, int mixerinput, string savetofile) |
| string | CF_stopRecordVoice () |
| Stop Record voice clip. | |
| void | CF_changeSkin (string skin, bool nightskin) |
| Changes skin. | |
| void | CF_sectionFocus (bool tabbing) |
| void | CF_playAudioFile (string filename) |
| Play audio file. | |
| int | CF_playAudioFile (string filename, AudioCmpltHandler handler) |
| Play audio file. | |
| void | CF_controlAudioFile (int channelhandle, CF_AudioAction audioaction) |
| Pause current user audio file. | |
| int | CF_playAudioStream (string audiourl, AudioCmpltHandler handler) |
| Play audio stream. | |
| int | CF_playAudioStream (string audiourl, AudioCmpltHandler handler, string useragent) |
| Play audio stream. | |
| void | CF_controlAudioStream (int channelhandle, CF_AudioAction audioaction) |
| Pause current user audio stream. | |
| CF_AudioStatus | CF_getAudioStatus (int channelhandle) |
| Get audio stream status. | |
| void | CF_closeApplication () |
| Exits the application. | |
| void | CF_loadExternalApplication (string appdisplayname, string apppath, string appparams, string appwindowname, bool appstartfullscreen) |
| Load external application. | |
| void | CF_loadExternalApplication (string appdisplayname, bool apppausemusic, bool guiapplication, int mixerdevice, int mixerinput, int display, string apppath, string appparams, string appwindowname, bool appstartfullscreen) |
| Load external application. | |
| void | CF_initRecord (int inputdevice, int inputline) |
| Init buffer recording. | |
| void | CF_bassSetVis (int stream, bool pause, bool rear) |
| Set visualization to a bass stream. | |
| MixerDeviceInput[] | CF_getPlaybackDevices () |
| Get playback devices. | |
| MixerDeviceInput[] | CF_getRecordDevices () |
| Get record devices. | |
| void | CF_clearRecordBuffer (bool play) |
| Clear recording buffer. | |
| CFPlugin.CFTagInformation | CF_getTagInformation (string filename) |
| Get tag information. | |
| CFPlugin.CFTagInformation | CF_getTagInformationStream (int channelhandle) |
| Get tag information. | |
| void | CF_updateBufferStatus (string plugin, bool buffermode) |
| Update buffer status. | |
| bool | CF_checkFormat (string file, CFTools.ExtensionType extType) |
| Check file extension. | |
| bool | CF_checkFormat (string[] files, CFTools.ExtensionType extType) |
| Check file extension. | |
| void | CF_setGraffitiStatus (bool enabled) |
| Set graffiti status. | |
| void | CF_setGraffitiRecognition (bool enabled) |
| Set graffiti recognition. | |
| void | CF_loadMediaPlaylist (CFControls.CFListViewItem[] playitems, int startindex, bool piclist) |
| Load a new media playlist. | |
| bool | CF_getVisibleModal () |
| void | CF_setVisibleModal (bool visible) |
| Sets whether a modal is visible. | |
| void | CF_dial (string number) |
| Dials a phone number. | |
| void | CF_setPlayPauseButton (bool pause, bool rear) |
| virtual void | CF_pluginShow () |
| Shows the plugin. Called when the plugin is launched. | |
| virtual void | CF_pluginClose () |
| Closes the plugin. Called when the system exits or plugin closes. | |
| virtual void | CF_pluginSetClickMode (bool singleclick) |
| Used to update list views click mode. | |
| virtual bool | CF_pluginCMLCommand (string command, string[] strparams, CF_ButtonState state, bool rear) |
| The cml action callback. | |
| virtual string | CF_pluginCMLData (CF_CMLTextItems textitem) |
| The cml text callback. | |
| virtual void | CF_pluginCommand (string command, string param1, string param2) |
| Used for plugin to plugin communication. Parameters can be passed into CF_Main_systemCommands with CF_Actions.PLUGIN, plugin name, plugin command, and a command parameter. | |
| virtual void | CF_sectionToggleFullScreen () |
| Toggles fullscreen option, when available. | |
| virtual string | CF_pluginData (string command, string param) |
| Used for retrieving information from plugins. You can run CF_getPluginData with a plugin name, command, and parameter to retrieve information from other plugins running on the system. | |
| virtual Rectangle | CF_pluginGetVisBounds () |
| Visualizations bounds. | |
| virtual DialogResult | CF_pluginShowSetup () |
| Shows the plugin setup. Called when the plugins setup is launched. | |
| virtual void | CF_pluginPause () |
| Pauses the plugin. Called when the system sends the pause command: Loading DVD's, Videos, Music, Radio, and external applications setup to control a line device. | |
| virtual void | CF_pluginResume () |
| Resumes the plugin from pause. Called when the system sends the resume command. | |
| virtual IntPtr | CF_pluginVisPicHandle () |
| Used for visualizations to render to a PictureBox. | |
| virtual void | CF_pluginResetVis () |
| Reset visualization. | |
| virtual void | CF_pluginSetVisImage (Image visimage) |
| Used for visualizations to set image. | |
| virtual string | CF_pluginDefaultConfig () |
| Used for creating a default config.xml file when one does not already exist. | |
| virtual string | CF_pluginGetPassword (string username, bool login) |
| Used for overriding centrafuse security passwords. | |
| string | CF_getMainButtonAction (int number, bool rear) |
| Get button action text for main screen button based on index. | |
| void | CF_loadButtonIcons (string buttonName, string _offimage, string _downimage) |
| Loads skin images. | |
| void | CF_setPictureImage (string pictureboxname, Image newimage) |
| Sets picture box image. | |
| void | CF_setMainPictureImage (string pictureboxname, Image newimage) |
| Sets picture box image. | |
| void | CF_setButtonOff (string wbutton) |
| Sets button to off state. | |
| void | CF_setButtonSecondaryImageFlag (string wbutton, bool enable) |
| Sets button secondary image flag. | |
| void | CF_setButtonEnableFlag (string wbutton, bool enable) |
| Sets button enable flag. | |
| void | CF_setLabelEnableFlag (string wlabel, bool enable) |
| Sets button enable flag. | |
| void | CF_setPictureBoxEnableFlag (string wpb, bool enable) |
| Sets picture box enable flag. | |
| void | CF_setButtonOn (string wbutton) |
| Sets button to down state. | |
| void | CF_removeButton (string wbutton) |
| Removes button from control array. | |
| int | CF_getPictureBoxID (string name) |
| Gets picture box array position. | |
| int | CF_getPositionIndicatorID (string name) |
| Gets position indicator array position. | |
| int | CF_getButtonID (string name) |
| Gets button array position. | |
| int | CF_getLabelID (string name) |
| Gets label array position. | |
| int | CF_getListViewID (string name) |
| Gets listview array position. | |
| int | CF_getAdvancedListID (string name) |
| Gets listview array position. | |
| int | CF_getPanelID (string name) |
| Gets panel array position. | |
| int | CF_getVisID (string name) |
| Gets listview array position. | |
| string | CF_getText (string labelName) |
| Gets label text. | |
| string | CF_getButtonText (string buttonName) |
| Gets button text. | |
| void | CF_updateText (string labelName, string text) |
| Sets label text. | |
| void | CF_updateText (string labelName, string text, bool docaseconversion) |
| Sets label text. | |
| void | CF_updateButtonText (string buttonName, string text) |
| Sets button text. | |
| void | CF_updateButtonText (string buttonName, string text, bool docaseconversion) |
| Sets button text. | |
| void | CF_setPositionIndicator (string which, int positioncount, int currentposition) |
| Sets position indicator value. | |
| void | CF_setSlider (string which, int svalue) |
| Sets slider value. | |
| new DialogResult | ShowDialog () |
| ShowDialog override used to set modal flag. | |
| DialogResult | ShowDialog (Form owner) |
| ShowDialog override used to set modal flag. | |
Public Attributes | |
| ICFInterfaceSetup | ICFSetup |
| Implement custom settings. | |
| CFParams | CF_params = null |
| Plugin instance parameters. | |
| CFDisplayHooks | CF_displayHooks |
| Plugin instance display hooks. | |
| int | buttonLocation = 1 |
| Current button location. | |
| bool | buttonSelected = false |
| Currently selected button flag. | |
| SkinReader | pluginSkinReader = null |
| Skin reader. | |
| CFControls.CFPositionIndicator[] | positionindicatorArray = null |
| Position indicator collection. | |
| CFControls.CFButton[] | buttonArray = null |
| CFControls.CFLabel[] | labelArray = null |
| Label collection. | |
| CFControls.CFPictureBox[] | pictureboxArray = null |
| Picture box collection. | |
| CFControls.CFListView[] | listviewArray = null |
| Listview collection. | |
| CFControls.CFAdvancedList[] | advancedlistArray = null |
| Scroll Listview collection. | |
| CFControls.CFPanel[] | panelArray = null |
| Panel collection. | |
| CFControls.CFPictureBox2[] | picturebox2Array = null |
| PictureBox2 collection. | |
| CFControls.CFVis[] | visArray = null |
| Visualization collection. | |
Static Public Attributes | |
| static CFGlobalParams | CF_globalParams = null |
| Centrafuse static global parameters. | |
Protected Member Functions | |
| delegate void | CFPowerModeChangedEventHandler (object sender, CFPowerModeChangedEventArgs e) |
| Drive Event Handler. | |
| delegate void | CFPlaylistHandler (CFControls.CFListViewItem[] playlist, bool push) |
| Playlist loaded Event Handler. | |
| delegate void | CFDriveEventHandler (object sender, CFDriveEventArgs e) |
| Drive Event Handler. | |
| delegate void | CFBufferStatusEventHandler (object sender, CFBufferStatusArgs e) |
| Buffer Status Event Handler. | |
| delegate void | CFAudioStreamDataChangeEventHandler (object sender, CFTagInformation e) |
| Audio Stream Data Change Event Handler. | |
| delegate void | CFAudioStreamMessageChangeEventHandler (object sender, string e) |
| Audio Stream Message Change Event Handler. | |
| void | CF_writePluginLog (string msg) |
| Writes plugin specific log. | |
| void | CF_writePluginLog (string msg, bool writemain) |
| Writes plugin specific log. | |
| Image | CF_getIconImage (string icon) |
| Image | CF_getIconImage (string icon, SkinReader pluginSkinReader) |
| void | CF_loadImages (string _offimage, string _downimage) |
| void | CF_loadImages (string _offimage, string _downimage, string sectionID) |
| void | CF_loadConfig (string configpath) |
| Loads configuration. | |
| void | CF_loadLang (string langpath) |
| Loads language. | |
| void | CF_clearControls () |
| Clears all control collections, labels, buttons, picture boxes, listviews, and visualizations. | |
| void | CF_createPictureBoxClick (string pictureboxName, MouseEventHandler clickEvent) |
| Creates click event for specified picture box. | |
| void | CF_createPictureBoxDown (string pictureboxName, MouseEventHandler downEvent) |
| Creates down event for specified picture box. | |
| void | CF_createPictureBoxEvents (string pictureboxName, MouseEventHandler clickEvent, MouseEventHandler downEvent) |
| Creates up and down events for specified picturebox. | |
| void | CF_createButtonClick (string buttonName, MouseEventHandler clickEvent) |
| Creates click event for specified button. | |
| void | CF_createButtonDown (string buttonName, MouseEventHandler downEvent) |
| Creates down event for specified button. | |
| void | CF_createButtonEvents (string buttonName, MouseEventHandler clickEvent, MouseEventHandler downEvent) |
| Creates down event for specified button. | |
| void | CF_createSliderTick (string sliderName, MouseEventHandler tickEvent) |
| Creates click event for specified slider. | |
| void | CF_createSliderClick (string sliderName, MouseEventHandler clickEvent) |
| Creates click event for specified slider. | |
| void | CF_createSliderDown (string sliderName, MouseEventHandler downEvent) |
| Creates down event for specified slider. | |
| void | CF_createSliderEvents (string sliderName, MouseEventHandler tickEvent, MouseEventHandler clickEvent, MouseEventHandler downEvent) |
| Creates up and down event for specified slider. | |
| void | CF_createLabelClick (string labelName, MouseEventHandler clickEvent) |
| Creates click event for specified label. | |
| void | CF_createLabelDown (string labelName, MouseEventHandler downEvent) |
| Creates down event for specified label. | |
| void | CF_createLabelEvents (string labelName, MouseEventHandler clickEvent, MouseEventHandler downEvent) |
| Creates up and down events for specified label. | |
| void | CF3_initPlugin (string mainPluginName, bool isGUI) |
| Initializes a plugin - This function MUST be called for all plugins before calling any other CF methods. pluginConfig, pluginLang, and pluginSkinReader are all initialized by this function call. | |
| void | CF3_writePluginLog (string msg) |
| Writes a custom plugin log in the respective AppData/Plugins folder. | |
| void | CF3_initSection (string sectionID) |
| Initializes section/screen - skin. | |
| void | CF3_createLabel (string labelName) |
| Creates label. | |
| void | CF3_createLabel (string labelName, MouseEventHandler clickEvent) |
| Creates label. | |
| void | CF3_createLabel (string labelName, MouseEventHandler clickEvent, MouseEventHandler downEvent) |
| Creates label. | |
| void | CF3_createButton (string buttonName) |
| Creates button. | |
| void | CF3_createButton (string buttonName, string buttonText) |
| Creates button. | |
| void | CF3_createButton (string buttonName, MouseEventHandler clickEvent) |
| Creates button. | |
| void | CF3_createButton (string buttonName, MouseEventHandler clickEvent, MouseEventHandler downEvent) |
| Creates button. | |
| void | CF3_createButton (string buttonName, string buttonText, MouseEventHandler clickEvent) |
| Creates button. | |
| void | CF3_createButton (string buttonName, string buttonText, MouseEventHandler clickEvent, MouseEventHandler downEvent) |
| Creates button. | |
| void | CF3_createSlider (string sliderName) |
| Creates slider. | |
| void | CF3_createSlider (string sliderName, int sliderMin, int sliderMax) |
| Creates slider. | |
| void | CF3_createSlider (string sliderName, int sliderMin, int sliderMax, MouseEventHandler tickEvent) |
| Creates slider. | |
| void | CF3_createSlider (string sliderName, int sliderMin, int sliderMax, MouseEventHandler tickEvent, MouseEventHandler clickEvent) |
| Creates slider. | |
| void | CF3_createSlider (string sliderName, int sliderMin, int sliderMax, MouseEventHandler tickEvent, MouseEventHandler clickEvent, MouseEventHandler downEvent) |
| Creates slider. | |
| void | CF3_createPanel (string panelName) |
| Creates button. | |
| void | CF3_createListView (string listviewName) |
| Creates CF2 style list view. | |
| void | CF3_createPictureBox (string pbName) |
| Creates regular picture box. | |
| void | CF3_createPictureBox (string pbName, MouseEventHandler clickEvent) |
| Creates regular picture box. | |
| void | CF3_createPictureBox (string pbName, MouseEventHandler clickEvent, MouseEventHandler downEvent) |
| Creates regular picture box. | |
Protected Attributes | |
| internal ConfigReader | pluginConfig = null |
| Configuration reader. | |
| internal LanguageReader | pluginLang = null |
| Language reader. | |
| CFButtonIndexes[] | buttonIndexes = null |
| Button index array. | |
| CFControls.CFButton | currButton = null |
| Currently selected button. | |
| CFEvents | CF_events = null |
| Plugin instance centrafuse event handlers. | |
Properties | |
| ICFMain | MainForm [get, set] |
| Gets or sets main form. | |
| new FormWindowState | WindowState [get, set] |
| Gets or sets form WindowState. | |
| int | currentButtonIndex [get] |
| Gets current button index. | |
Navigation Plugins compiled for Centrafuse reference the CFPlugin dll, cfplugin.dll, included in this SDK in the root directory. The CFPlugin dll provides the developer with all of the necessary interfaces and classes to create functional pieces to work in conjunction with Centrafuse software. For example, popular plugins that already exist are SkinBrowser, LogoDashboard, iGuidance, and FileSync. Satellite Radio is also implemented in CF as a plugin. Radio support is added through use of a radio module. Basically anything a developer can imagine can be added to CF using the Centrafuse API.
Centrafuse Radio Modules are (Microsoft termed) "Class libraries", built from projects in .NET that produce a dll library object that Centrafuse can load at runtime. These dll's must expose at least 1 form which inherits from ICFRadio, available through the Centrafuse Plugin Interface Dll, cfplugin.dll, which must be referenced by plugin's project.
Your Navigation Plugin will always inherit the CFNavPlugin class.
Your navigation plugin dll will of course contain a constructor, whether or not you choose to implement one is up to you. Your constructor is called when your radio module dll is loaded into memory, keep in mind that initialization of Centrafuse HAS NOT completed yet. To be sure that Centrafuse initialization is complete when you initialize your plugin, wait until your CF_pluginInit() override is called, which is directly following Centrafuse initialization. In the following example, just some simple flags are set, and the call to a function that will create a plugin config.xml file if it doesn't exist. The main navigation plugin class. All navigation plugins need to inherit from this class.
enum CFPowerModes [inherited] |
PowerModes.
enum FormWindowState [inherited] |
| void CF3_createButton | ( | string | buttonName, | |
| string | buttonText, | |||
| MouseEventHandler | clickEvent, | |||
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates button.
| buttonName | Button name, must match button name specified in skin file. | |
| buttonText | Button text. | |
| clickEvent | Click event. | |
| downEvent | Down event. |
| void CF3_createButton | ( | string | buttonName, | |
| string | buttonText, | |||
| MouseEventHandler | clickEvent | |||
| ) | [protected, inherited] |
Creates button.
| buttonName | Button name, must match button name specified in skin file. | |
| buttonText | Button text. | |
| clickEvent | Click event. |
| void CF3_createButton | ( | string | buttonName, | |
| MouseEventHandler | clickEvent, | |||
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates button.
| buttonName | Button name, must match button name specified in skin file. | |
| clickEvent | Click event. | |
| downEvent | Down event. |
| void CF3_createButton | ( | string | buttonName, | |
| MouseEventHandler | clickEvent | |||
| ) | [protected, inherited] |
Creates button.
| buttonName | Button name, must match button name specified in skin file. | |
| clickEvent | Click event. |
| void CF3_createButton | ( | string | buttonName, | |
| string | buttonText | |||
| ) | [protected, inherited] |
Creates button.
| buttonName | Button name, must match button name specified in skin file. | |
| buttonText | Button text. |
| void CF3_createButton | ( | string | buttonName | ) | [protected, inherited] |
Creates button.
| buttonName | Button name, must match button name specified in skin file. |
| void CF3_createLabel | ( | string | labelName, | |
| MouseEventHandler | clickEvent, | |||
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates label.
| labelName | Label name, must match label name specified in skin file. | |
| clickEvent | Click event. | |
| downEvent | Down event. |
| void CF3_createLabel | ( | string | labelName, | |
| MouseEventHandler | clickEvent | |||
| ) | [protected, inherited] |
Creates label.
| labelName | Label name, must match label name specified in skin file. | |
| clickEvent | Click event. |
| void CF3_createLabel | ( | string | labelName | ) | [protected, inherited] |
Creates label.
| labelName | Label name, must match label name specified in skin file. |
| void CF3_createListView | ( | string | listviewName | ) | [protected, inherited] |
Creates CF2 style list view.
| listviewName | List view name, must match list view name in specified in skin file. |
| void CF3_createPanel | ( | string | panelName | ) | [protected, inherited] |
Creates button.
| panelName | Panel name, must match panel name specified in skin file. |
| void CF3_createPictureBox | ( | string | pbName, | |
| MouseEventHandler | clickEvent, | |||
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates regular picture box.
| pbName | Picture Box name, must match picture box name specified in skin file. | |
| clickEvent | Click event. | |
| downEvent | Down event. |
| void CF3_createPictureBox | ( | string | pbName, | |
| MouseEventHandler | clickEvent | |||
| ) | [protected, inherited] |
Creates regular picture box.
| pbName | Picture Box name, must match picture box name specified in skin file. | |
| clickEvent | Click event. |
| void CF3_createPictureBox | ( | string | pbName | ) | [protected, inherited] |
Creates regular picture box.
| pbName | Picture Box name, must match picture box name specified in skin file. |
| void CF3_createSlider | ( | string | sliderName, | |
| int | sliderMin, | |||
| int | sliderMax, | |||
| MouseEventHandler | tickEvent, | |||
| MouseEventHandler | clickEvent, | |||
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates slider.
| sliderName | Slider name, must match slider name specified in skin file. | |
| sliderMin | Minimum slider value. | |
| sliderMax | Maximum slider value. | |
| tickEvent | Tick event. | |
| clickEvent | Click event. | |
| downEvent | Down event. |
| void CF3_createSlider | ( | string | sliderName, | |
| int | sliderMin, | |||
| int | sliderMax, | |||
| MouseEventHandler | tickEvent, | |||
| MouseEventHandler | clickEvent | |||
| ) | [protected, inherited] |
Creates slider.
| sliderName | Slider name, must match slider name specified in skin file. | |
| sliderMin | Minimum slider value. | |
| sliderMax | Maximum slider value. | |
| tickEvent | Tick event. | |
| clickEvent | Click event. |
| void CF3_createSlider | ( | string | sliderName, | |
| int | sliderMin, | |||
| int | sliderMax, | |||
| MouseEventHandler | tickEvent | |||
| ) | [protected, inherited] |
Creates slider.
| sliderName | Slider name, must match slider name specified in skin file. | |
| sliderMin | Minimum slider value. | |
| sliderMax | Maximum slider value. | |
| tickEvent | Tick event. |
| void CF3_createSlider | ( | string | sliderName, | |
| int | sliderMin, | |||
| int | sliderMax | |||
| ) | [protected, inherited] |
Creates slider.
| sliderName | Slider name, must match slider name in loaded skin file. | |
| sliderMin | Minimum slider value. | |
| sliderMax | Maximum slider value. |
| void CF3_createSlider | ( | string | sliderName | ) | [protected, inherited] |
Creates slider.
| sliderName | Slider name, must match slider name in loaded skin file. |
| void CF3_initPlugin | ( | string | mainPluginName, | |
| bool | isGUI | |||
| ) | [protected, inherited] |
Initializes a plugin - This function MUST be called for all plugins before calling any other CF methods. pluginConfig, pluginLang, and pluginSkinReader are all initialized by this function call.
| mainPluginName | Name of the main plugin that this CFPlugin instance belongs to. Note this MUST be the same name as the folder that contains the plugin dll. Note that the plugin dll MUST also have the same name. For example, if the plugin name is "Cam", then the plugin dll must be Plugins/Cam/Cam.dll If the plugin name is "Email", then the plugin dll must be Plugins/Email/Email.dll | |
| isGUI | Indicates plugin is graphical, or not graphical. |
| void CF3_initSection | ( | string | sectionID | ) | [protected, inherited] |
Initializes section/screen - skin.
For plugins, be sure to call CF3_initPlugin() before calling this function.
| sectionID | ID of skin file section. |
| void CF3_writePluginLog | ( | string | msg | ) | [protected, inherited] |
Writes a custom plugin log in the respective AppData/Plugins folder.
| msg | Text to write to the log |
| void CF_bassSetVis | ( | int | stream, | |
| bool | pause, | |||
| bool | rear | |||
| ) | [inherited] |
Set visualization to a bass stream.
| void CF_changeSkin | ( | string | skin, | |
| bool | nightskin | |||
| ) | [inherited] |
Changes skin.
| bool CF_checkFormat | ( | string[] | files, | |
| CFTools.ExtensionType | extType | |||
| ) | [inherited] |
Check file extension.
| bool CF_checkFormat | ( | string | file, | |
| CFTools.ExtensionType | extType | |||
| ) | [inherited] |
Check file extension.
| void CF_clearControls | ( | ) | [protected, inherited] |
Clears all control collections, labels, buttons, picture boxes, listviews, and visualizations.
Labels, buttons, picture boxes, listviews, and visualizations.
| void CF_clearRecordBuffer | ( | bool | play | ) | [inherited] |
Clear recording buffer.
| void CF_closeApplication | ( | ) | [inherited] |
Exits the application.
| void CF_controlAudioFile | ( | int | channelhandle, | |
| CF_AudioAction | audioaction | |||
| ) | [inherited] |
Pause current user audio file.
| void CF_controlAudioStream | ( | int | channelhandle, | |
| CF_AudioAction | audioaction | |||
| ) | [inherited] |
Pause current user audio stream.
| void CF_createButtonClick | ( | string | buttonName, | |
| MouseEventHandler | clickEvent | |||
| ) | [protected, inherited] |
Creates click event for specified button.
| buttonName | Button name, must match button name in loaded skin file. | |
| clickEvent | Click event. |
| void CF_createButtonDown | ( | string | buttonName, | |
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates down event for specified button.
| buttonName | Button name, must match button name in loaded skin file. | |
| downEvent | Down event. |
| void CF_createButtonEvents | ( | string | buttonName, | |
| MouseEventHandler | clickEvent, | |||
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates down event for specified button.
| buttonName | Button name, must match button name in loaded skin file. | |
| clickEvent | Click event. | |
| downEvent | Down event. |
| void CF_createLabelClick | ( | string | labelName, | |
| MouseEventHandler | clickEvent | |||
| ) | [protected, inherited] |
Creates click event for specified label.
| labelName | Label name, must match label name in loaded skin file. | |
| clickEvent | Click event. |
| void CF_createLabelDown | ( | string | labelName, | |
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates down event for specified label.
| labelName | Label name, must match label name in loaded skin file. | |
| downEvent | Down event. |
| void CF_createLabelEvents | ( | string | labelName, | |
| MouseEventHandler | clickEvent, | |||
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates up and down events for specified label.
| labelName | Label name, must match button name in loaded skin file. | |
| clickEvent | Click event. | |
| downEvent | Down event. |
| void CF_createPictureBoxClick | ( | string | pictureboxName, | |
| MouseEventHandler | clickEvent | |||
| ) | [protected, inherited] |
Creates click event for specified picture box.
| pictureboxName | Picture box name, must match picture box name in loaded skin file. | |
| clickEvent | Click event. |
| void CF_createPictureBoxDown | ( | string | pictureboxName, | |
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates down event for specified picture box.
| pictureboxName | Picture box name, must match picture box name in loaded skin file. | |
| downEvent | Down event. |
| void CF_createPictureBoxEvents | ( | string | pictureboxName, | |
| MouseEventHandler | clickEvent, | |||
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates up and down events for specified picturebox.
| pictureboxName | Picturebox name, must match button name in loaded skin file. | |
| clickEvent | Click event. | |
| downEvent | Down event. |
| Rectangle CF_createRect | ( | Rectangle | rect, | |
| bool | applydisplaynumber | |||
| ) | [inherited] |
Creates a properly sized rectangle based on current resolution.
| rect | Rectangle coordinates to apply aspect ratio to. | |
| applydisplaynumber | Apply raw coordinates of display number to rectangle creation. |
| Rectangle CF_createRect | ( | Rectangle | rect | ) | [inherited] |
Creates a properly sized rectangle based on current resolution.
| rect | Rectangle coordinates to apply aspect ratio to. |
| Rectangle CF_createRect | ( | int | x, | |
| int | y, | |||
| int | width, | |||
| int | height | |||
| ) | [inherited] |
Creates a properly sized rectangle based on current resolution.
| x | X coordinate. | |
| y | Y coordinate. | |
| width | Width. | |
| height | Height. |
| void CF_createSliderClick | ( | string | sliderName, | |
| MouseEventHandler | clickEvent | |||
| ) | [protected, inherited] |
Creates click event for specified slider.
| sliderName | Slider name, must match slider name in loaded skin file. | |
| clickEvent | Click event. |
| void CF_createSliderDown | ( | string | sliderName, | |
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates down event for specified slider.
| sliderName | Slider name, must match slider name in loaded skin file. | |
| downEvent | Down event. |
| void CF_createSliderEvents | ( | string | sliderName, | |
| MouseEventHandler | tickEvent, | |||
| MouseEventHandler | clickEvent, | |||
| MouseEventHandler | downEvent | |||
| ) | [protected, inherited] |
Creates up and down event for specified slider.
| sliderName | Button name, must match button name in loaded skin file. | |
| tickEvent | Tick event. | |
| clickEvent | Click event. | |
| downEvent | Down event. |
| void CF_createSliderTick | ( | string | sliderName, | |
| MouseEventHandler | tickEvent | |||
| ) | [protected, inherited] |
Creates click event for specified slider.
| sliderName | Slider name, must match slider name in loaded skin file. | |
| tickEvent | Tick event. |
| void CF_dial | ( | string | number | ) | [inherited] |
Dials a phone number.
| number | The number to dial. Use "MANUALDIAL" to pull up numberpad to dial manually. |
| DialogResult CF_displayMessage | ( | string | message, | |
| int | display | |||
| ) | [inherited] |
Display a message with the OkBox.
| message | Dialog message. | |
| display | Display. |
| DialogResult CF_displayMessage | ( | string | message | ) | [inherited] |
Display a message with the OkBox.
| message | Dialog message. |
| int CF_getAdvancedListID | ( | string | name | ) | [inherited] |
Gets listview array position.
| name | Scroll Listview name. |
| int CF_getAudioLevel | ( | CF_AudioLevels | audiolevel | ) | [inherited] |
Gets audio level, value between -15 and 15.
| audiolevel | Audio level. |
| CF_AudioStatus CF_getAudioStatus | ( | int | channelhandle | ) | [inherited] |
Get audio stream status.
| int CF_getButtonID | ( | string | name | ) | [inherited] |
Gets button array position.
| name | Button name. |
| string CF_getButtonText | ( | string | buttonName | ) | [inherited] |
Gets button text.
| buttonName | Button name. |
| bool CF_getCallStatus | ( | ) | [inherited] |
Get phone call status.
| bool CF_getCDRipState | ( | ) | [inherited] |
Sets system general setting.
| bool CF_getConfigFlag | ( | CF_ConfigFlags | configflag | ) | [inherited] |
Gets system configuration flag.
| string CF_getConfigSetting | ( | CF_ConfigSettings | configsetting | ) | [inherited] |
Gets system configuration setting.
| bool CF_getConnectionStatus | ( | ) | [inherited] |
Returns internet connection status.
| Font CF_getFont | ( | string | fontname, | |
| float | fontsize, | |||
| System.Drawing.FontStyle | fontstyle | |||
| ) | [inherited] |
Get font.
| fontname | Font name. | |
| fontsize | Font size. | |
| fontstyle | Font style. |
| bool CF_getGPSVisible | ( | ) | [inherited] |
Gets GPS visible status.
| bool CF_getGraffitiStatus | ( | ) | [inherited] |
Get graffiti status.
| bool CF_getGraffitiStylusDown | ( | ) | [inherited] |
Get graffiti stylus flag.
| Image CF_getIconImage | ( | string | icon, | |
| SkinReader | pluginSkinReader | |||
| ) | [protected, inherited] |
Gets icon image.
| icon | Icon name or path. | |
| pluginSkinReader | skinreader instance to read from, use "null" or "this" to read from the local skinreader instance. |
| Image CF_getIconImage | ( | string | icon | ) | [protected, inherited] |
Gets icon image.
| icon | Icon name or path. |
| int CF_getLabelID | ( | string | name | ) | [inherited] |
Gets label array position.
| name | Label name. |
| int CF_getListViewID | ( | string | name | ) | [inherited] |
Gets listview array position.
| name | Listview name. |
| string CF_getMainButtonAction | ( | int | number, | |
| bool | rear | |||
| ) | [inherited] |
Get button action text for main screen button based on index.
| number | Main button index. | |
| rear | Rear screen flag. |
| float CF_getMixerLevel | ( | int | mixerdevice, | |
| int | mixerinput, | |||
| bool | recordingdevice | |||
| ) | [inherited] |
Gets mixer level,.
Value must be 0 - 65535
| mixerdevice | Mixer device. | |
| mixerinput | Mixer device input, not used in Vista. | |
| recordingdevice | Flag to use recording devices instead of playback. |
| bool CF_getMuteStatus | ( | ) | [inherited] |
Gets mute status.
| int CF_getPanelID | ( | string | name | ) | [inherited] |
Gets panel array position.
| name | Panel name. |
| int CF_getPictureBoxID | ( | string | name | ) | [inherited] |
Gets picture box array position.
| name | Picture box name. |
| MixerDeviceInput [] CF_getPlaybackDevices | ( | ) | [inherited] |
Get playback devices.
| string CF_getPluginData | ( | string | plugin, | |
| string | command, | |||
| string | param | |||
| ) | [inherited] |
Gets system configuration setting.
| int CF_getPositionIndicatorID | ( | string | name | ) | [inherited] |
Gets position indicator array position.
| name | Position indicator name. |
| MixerDeviceInput [] CF_getRecordDevices | ( | ) | [inherited] |
Get record devices.
| CFComPort [] CF_getSerialPorts | ( | ) | [inherited] |
Gets available serial ports.
| CFPlugin.CFTagInformation CF_getTagInformation | ( | string | filename | ) | [inherited] |
Get tag information.
| CFPlugin.CFTagInformation CF_getTagInformationStream | ( | int | channelhandle | ) | [inherited] |
Get tag information.
| string CF_getText | ( | string | labelName | ) | [inherited] |
Gets label text.
| labelName | Label name. |
| bool CF_getVisibleModal | ( | ) | [inherited] |
Gets whether a modal is visible.
| int CF_getVisID | ( | string | name | ) | [inherited] |
Gets listview array position.
| name | Listview name. |
| FormWindowState CF_getWindowState | ( | ) | [inherited] |
Get Centrafuse window state.
| void CF_initRecord | ( | int | inputdevice, | |
| int | inputline | |||
| ) | [inherited] |
Init buffer recording.
| void CF_loadButtonIcons | ( | string | buttonName, | |
| string | _offimage, | |||
| string | _downimage | |||
| ) | [inherited] |
Loads skin images.
| buttonName | Name of button to load icons for. | |
| _offimage | Off icon path. | |
| _downimage | Down icon path. |
| void CF_loadConfig | ( | string | configpath | ) | [protected, inherited] |
Loads configuration.
Note that this function is also implicitly called when you call CF3_setupSkin().
| configpath | Path to config file. |
| void CF_loadExternalApplication | ( | string | appdisplayname, | |
| bool | apppausemusic, | |||
| bool | guiapplication, | |||
| int | mixerdevice, | |||
| int | mixerinput, | |||
| int | display, | |||
| string | apppath, | |||
| string | appparams, | |||
| string | appwindowname, | |||
| bool | appstartfullscreen | |||
| ) | [inherited] |
Load external application.
| void CF_loadExternalApplication | ( | string | appdisplayname, | |
| string | apppath, | |||
| string | appparams, | |||
| string | appwindowname, | |||
| bool | appstartfullscreen | |||
| ) | [inherited] |
Load external application.
| void CF_loadImages | ( | string | _offimage, | |
| string | _downimage, | |||
| string | sectionID | |||
| ) | [protected, inherited] |
Loads skin images.
Note that this function is also implicitly called when you call CF3_setupSkin().
| _offimage | Off image path. | |
| _downimage | Down image path. | |
| sectionID | Section ID. |
| void CF_loadImages | ( | string | _offimage, | |
| string | _downimage | |||
| ) | [protected, inherited] |
Loads skin images.
Note that this function is also implicitly called when you call CF3_setupSkin().
| _offimage | Off image path. | |
| _downimage | Down image path. |
| void CF_loadLang | ( | string | langpath | ) | [protected, inherited] |
Loads language.
Note that this function is also implicitly called when you call CF3_setupSkin().
| langpath | Path to language file. |
| void CF_loadMediaPlaylist | ( | CFControls.CFListViewItem[] | playitems, | |
| int | startindex, | |||
| bool | piclist | |||
| ) | [inherited] |
Load a new media playlist.
| int CF_playAudioFile | ( | string | filename, | |
| AudioCmpltHandler | handler | |||
| ) | [inherited] |
Play audio file.
| void CF_playAudioFile | ( | string | filename | ) | [inherited] |
Play audio file.
| int CF_playAudioStream | ( | string | audiourl, | |
| AudioCmpltHandler | handler, | |||
| string | useragent | |||
| ) | [inherited] |
Play audio stream.
| int CF_playAudioStream | ( | string | audiourl, | |
| AudioCmpltHandler | handler | |||
| ) | [inherited] |
Play audio stream.
| virtual void CF_pluginClose | ( | ) | [virtual, inherited] |
Closes the plugin. Called when the system exits or plugin closes.
| virtual bool CF_pluginCMLCommand | ( | string | command, | |
| string[] | strparams, | |||
| CF_ButtonState | state, | |||
| bool | rear | |||
| ) | [virtual, inherited] |
The cml action callback.
Called when a centrafuse control is clicked.
| command | The CML command. | |
| strparams | Paramaters of the CML command. | |
| state | State of the click, down state, click/up state, holdclick, etc... | |
| rear | Flag indicating which zone (front/rear) the command came from. |
| virtual string CF_pluginCMLData | ( | CF_CMLTextItems | textitem | ) | [virtual, inherited] |
The cml text callback.
Called when a plugin is the current audio source to update main Centrafuse labels and other controls.
| textitem | The text/cml items that Centrafuse is requesting the value for. |
| virtual void CF_pluginCommand | ( | string | command, | |
| string | param1, | |||
| string | param2 | |||
| ) | [virtual, inherited] |
Used for plugin to plugin communication. Parameters can be passed into CF_Main_systemCommands with CF_Actions.PLUGIN, plugin name, plugin command, and a command parameter.
| command | The command to execute. | |
| param1 | The first parameter. | |
| param2 | The second parameter. |
| virtual string CF_pluginData | ( | string | command, | |
| string | param | |||
| ) | [virtual, inherited] |
Used for retrieving information from plugins. You can run CF_getPluginData with a plugin name, command, and parameter to retrieve information from other plugins running on the system.
| command | The command to execute. | |
| param | The parameter. |
| virtual string CF_pluginDefaultConfig | ( | ) | [virtual, inherited] |
Used for creating a default config.xml file when one does not already exist.
| virtual string CF_pluginGetPassword | ( | string | username, | |
| bool | login | |||
| ) | [virtual, inherited] |
Used for overriding centrafuse security passwords.
| virtual Rectangle CF_pluginGetVisBounds | ( | ) | [virtual, inherited] |
Visualizations bounds.
| virtual void CF_pluginPause | ( | ) | [virtual, inherited] |
Pauses the plugin. Called when the system sends the pause command: Loading DVD's, Videos, Music, Radio, and external applications setup to control a line device.
| virtual void CF_pluginResetVis | ( | ) | [virtual, inherited] |
Reset visualization.
| virtual void CF_pluginResume | ( | ) | [virtual, inherited] |
Resumes the plugin from pause. Called when the system sends the resume command.
| virtual void CF_pluginSetClickMode | ( | bool | singleclick | ) | [virtual, inherited] |
Used to update list views click mode.
| virtual void CF_pluginSetVisImage | ( | Image | visimage | ) | [virtual, inherited] |
Used for visualizations to set image.
| virtual void CF_pluginShow | ( | ) | [virtual, inherited] |
Shows the plugin. Called when the plugin is launched.
| virtual DialogResult CF_pluginShowSetup | ( | ) | [virtual, inherited] |
Shows the plugin setup. Called when the plugins setup is launched.
| virtual IntPtr CF_pluginVisPicHandle | ( | ) | [virtual, inherited] |
Used for visualizations to render to a PictureBox.
| void CF_removeButton | ( | string | wbutton | ) | [inherited] |
Removes button from control array.
| wbutton | Button name or action. |
| void CF_resetAutoHideTimer | ( | ) | [inherited] |
Reset auto hide timer used for dialogs.
| void CF_sectionFocus | ( | bool | tabbing | ) | [inherited] |
Hides system drop down menu.
| virtual void CF_sectionToggleFullScreen | ( | ) | [virtual, inherited] |
Toggles fullscreen option, when available.
| void CF_setAudioLevel | ( | CF_AudioLevels | audiolevel, | |
| int | level | |||
| ) | [inherited] |
Sets audio level, value between -15 and 15.
| audiolevel | Audio level. | |
| level | New level. |
| void CF_setButtonEnableFlag | ( | string | wbutton, | |
| bool | enable | |||
| ) | [inherited] |
Sets button enable flag.
| wbutton | Button name/action. | |
| enable | Button enable flag. |
| void CF_setButtonOff | ( | string | wbutton | ) | [inherited] |
Sets button to off state.
| wbutton | Button name. |
| void CF_setButtonOn | ( | string | wbutton | ) | [inherited] |
Sets button to down state.
| wbutton | Button name. |
| void CF_setButtonSecondaryImageFlag | ( | string | wbutton, | |
| bool | enable | |||
| ) | [inherited] |
Sets button secondary image flag.
| wbutton | Button name. | |
| enable | Secondary image flag. |
| void CF_setConfigFlag | ( | CF_ConfigFlags | configflag, | |
| bool | flag | |||
| ) | [inherited] |
Sets system configuration flag.
| void CF_setConfigSetting | ( | CF_ConfigSettings | configsetting, | |
| string | value | |||
| ) | [inherited] |
Sets system configuration setting.
| void CF_setGraffitiRecognition | ( | bool | enabled | ) | [inherited] |
Set graffiti recognition.
| void CF_setGraffitiStatus | ( | bool | enabled | ) | [inherited] |
Set graffiti status.
| void CF_setLabelEnableFlag | ( | string | wlabel, | |
| bool | enable | |||
| ) | [inherited] |
Sets button enable flag.
| wlabel | Label name/action. | |
| enable | Button enable flag. |
| void CF_setListFocus | ( | ) | [inherited] |
Set focus to list box if exists.
| void CF_setMainPictureImage | ( | string | pictureboxname, | |
| Image | newimage | |||
| ) | [inherited] |
Sets picture box image.
An image to use here can easily be obtained by using the CFTools.ImageFromFile() function.
| pictureboxname | Picture box name. | |
| newimage | New picture box image. |
| void CF_setMixerLevel | ( | int | mixerdevice, | |
| int | mixerinput, | |||
| int | mixerlevel, | |||
| bool | showdialog, | |||
| bool | recordingdevice | |||
| ) | [inherited] |
Sets mixer level, value between 0 and 65535.
| mixerdevice | Mixer device. | |
| mixerinput | Mixer device input, not used in Vista. | |
| mixerlevel | New level. | |
| showdialog | Show volume dialog. | |
| recordingdevice | Flag to use recording devices instead of playback. |
| void CF_setMixerLevel | ( | int | mixerdevice, | |
| int | mixerinput, | |||
| int | mixerlevel, | |||
| bool | recordingdevice | |||
| ) | [inherited] |
Sets mixer level, value between 0 and 65535.
| mixerdevice | Mixer device. | |
| mixerinput | Mixer device input, not used in Vista. | |
| mixerlevel | New level. | |
| recordingdevice | Flag to use recording devices instead of playback. |
| void CF_setMixerMute | ( | int | mixerdevice, | |
| int | mixerinput, | |||
| bool | mixermute, | |||
| bool | recordingdevice | |||
| ) | [inherited] |
Mutes mixer device.
| mixerdevice | Mixer device. | |
| mixerinput | Mixer device input, not used in Vista. | |
| mixermute | Mute flag. | |
| recordingdevice | Flag to use recording devices instead of playback. |
| void CF_setMixerMute | ( | int | mixerdevice, | |
| int | mixerinput, | |||
| bool | mixermute | |||
| ) | [inherited] |
Mutes mixer device.
| mixerdevice | Mixer device. | |
| mixerinput | Mixer device input, not used in Vista. | |
| mixermute | Mute flag. |
| void CF_setMixerRecordSelection | ( | int | mixerdevice, | |
| int | mixerinput | |||
| ) | [inherited] |
Sets record selection.
| mixerdevice | Mixer device. | |
| mixerinput | Mixer device input, not used in Vista. |
| void CF_setPictureBoxEnableFlag | ( | string | wpb, | |
| bool | enable | |||
| ) | [inherited] |
Sets picture box enable flag.
| wpb | Picture box name. | |
| enable | Button enable flag. |
| void CF_setPictureImage | ( | string | pictureboxname, | |
| Image | newimage | |||
| ) | [inherited] |
Sets picture box image.
An image to use here can easily be obtained by using the CFTools.ImageFromFile() function.
| pictureboxname | Picture box name. | |
| newimage | New picture box image. |
| void CF_setPlayPauseButton | ( | bool | pause, | |
| bool | rear | |||
| ) | [inherited] |
Sets state of play/pause button.
| void CF_setPositionIndicator | ( | string | which, | |
| int | positioncount, | |||
| int | currentposition | |||
| ) | [inherited] |
Sets position indicator value.
| which | Position indicator name. | |
| positioncount | Position indicator total count. | |
| currentposition | Position indicator current position. |
| void CF_setSlider | ( | string | which, | |
| int | svalue | |||
| ) | [inherited] |
Sets slider value.
| which | Slider name. | |
| svalue | New value. |
| void CF_setVisibleModal | ( | bool | visible | ) | [inherited] |
Sets whether a modal is visible.
| void CF_setWindowState | ( | FormWindowState | state | ) | [inherited] |
Set Centrafuse window state.
| void CF_startRecordVoice | ( | int | mixerdevice, | |
| int | mixerinput, | |||
| string | savetofile | |||
| ) | [inherited] |
Start Record voice clip.
| string CF_stopRecordVoice | ( | ) | [inherited] |
Stop Record voice clip.
| void CF_systemCommand | ( | CF_Actions | command, | |
| string | param1, | |||
| string | param2, | |||
| string | param3, | |||
| string | param4 | |||
| ) | [inherited] |
Performs system command.
| command | System command. | |
| param1 | Parameter one. | |
| param2 | Parameter two. | |
| param3 | Parameter three. | |
| param4 | Parameter four. |
| DialogResult CF_systemDisplayDialog | ( | CF_Dialogs | dialog, | |
| string | displaytext, | |||
| string | param, | |||
| string | param2, | |||
| out string | resultvalue, | |||
| out string | resulttext, | |||
| out object | resultobject, | |||
| CFControls.CFListViewItem[] | listitems, | |||
| bool | showfiles, | |||
| bool | browseable, | |||
| bool | showextension, | |||
| bool | enablesubactions, | |||
| bool | fireforwardback, | |||
| bool | fireplusminus, | |||
| int | display | |||
| ) | [inherited] |
Displays system dialog.
| dialog | Dialog to display. | |
| displaytext | Display text. | |
| param | Extra parameter used by some dialogs. | |
| param2 | Extra parameter used by some dialogs. | |
| resultvalue | Returns result value when available. | |
| resulttext | Returns result text when available. | |
| resultobject | Returns result object when available. | |
| listitems | Array of skinListboxItems to display, only used with CF_Dialogs.FileBrowser. | |
| showfiles | Determines whether to display files or just directories, only used with CF_Dialogs.FileBrowser. | |
| browseable | Determines whether CF_Dialogs.FileBrowser is browseable, only used with CF_Dialogs.FileBrowser. | |
| showextension | Determines whether to show file extensions, only used with CF_Dialogs.FileBrowser. | |
| enablesubactions | Determines whether the add and remove buttons are enabled, only used with CF_Dialogs.FileBrowser. | |
| fireforwardback | Determines whether to fire DialogResult events with forward/back buttons. Clicking forward is the same as selecting OK and clicking back will send DialogResult.Abort. | |
| fireplusminus | Determines whether to fire DialogResult events with plus/minus buttons. Clicking plus will send DialogResult.Yes and minus will send DialogResult.No. | |
| display | Determines which display to use. |
| DialogResult CF_systemDisplayDialog | ( | CF_Dialogs | dialog, | |
| string | displaytext, | |||
| string | param, | |||
| string | param2, | |||
| out string | resultvalue, | |||
| out string | resulttext, | |||
| CFControls.CFListViewItem[] | listitems | |||
| ) | [inherited] |
Displays system dialog.
| dialog | Dialog to display. | |
| displaytext | Display text. | |
| param | Extra parameter used by some dialogs. | |
| param2 | Extra parameter used by some dialogs. | |
| resultvalue | Returns result value when available. | |
| resulttext | Returns result text when available. | |
| listitems | Array of skinListboxItems to display, only used with CF_Dialogs.FileBrowser. |
| DialogResult CF_systemDisplayDialog | ( | CF_Dialogs | dialog, | |
| string | displaytext, | |||
| string | param, | |||
| string | param2, | |||
| out string | resultvalue, | |||
| out string | resulttext, | |||
| bool | showfiles, | |||
| bool | browseable, | |||
| bool | showextension, | |||
| bool | enablesubactions | |||
| ) | [inherited] |
Displays system dialog.
| dialog | Dialog to display. | |
| displaytext | Display text. | |
| param | Extra parameter used by some dialogs. | |
| param2 | Extra parameter used by some dialogs. | |
| resultvalue | Returns result value when available. | |
| resulttext | Returns result text when available. | |
| showfiles | Determines whether to display files or just directories, only used with CF_Dialogs.FileBrowser. | |
| browseable | Determines whether CF_Dialogs.FileBrowser is browseable, only used with CF_Dialogs.FileBrowser. | |
| showextension | Determines whether to show file extensions, only used with CF_Dialogs.FileBrowser. | |
| enablesubactions | Determines whether the add and remove buttons are enabled, only used with CF_Dialogs.FileBrowser. |
| DialogResult CF_systemDisplayDialog | ( | CF_Dialogs | dialog, | |
| string | displaytext, | |||
| string | param, | |||
| string | param2, | |||
| out string | resultvalue, | |||
| out string | resulttext | |||
| ) | [inherited] |
Displays system dialog.
| dialog | Dialog to display. | |
| displaytext | Display text. | |
| param | Extra parameter used by some dialogs. | |
| param2 | Extra parameter used by some dialogs. | |
| resultvalue | Returns result value when available. | |
| resulttext | Returns result text when available. |
| DialogResult CF_systemDisplayDialog | ( | CF_Dialogs | dialog, | |
| string | displaytext, | |||
| string | param, | |||
| out string | resultvalue, | |||
| out string | resulttext, | |||
| bool | showfiles, | |||
| bool | browseable, | |||
| bool | showextension, | |||
| bool | enablesubactions | |||
| ) | [inherited] |
Displays system dialog.
| dialog | Dialog to display. | |
| displaytext | Display text. | |
| param | Extra parameter used by some dialogs. | |
| resultvalue | Returns result value when available. | |
| resulttext | Returns result text when available. | |
| showfiles | Determines whether to display files or just directories, only used with CF_Dialogs.FileBrowser. | |
| browseable | Determines whether CF_Dialogs.FileBrowser is browseable, only used with CF_Dialogs.FileBrowser. | |
| showextension | Determines whether to show file extensions, only used with CF_Dialogs.FileBrowser. | |
| enablesubactions | Determines whether the add and remove buttons are enabled, only used with CF_Dialogs.FileBrowser. |
| DialogResult CF_systemDisplayDialog | ( | CF_Dialogs | dialog, | |
| string | displaytext, | |||
| string | param, | |||
| out string | resultvalue, | |||
| out string | resulttext | |||
| ) | [inherited] |
Displays system dialog.
| dialog | Dialog to display. | |
| displaytext | Display text. | |
| param | Extra parameter used by some dialogs. | |
| resultvalue | Returns result value when available. | |
| resulttext | Returns result text when available. |
| DialogResult CF_systemDisplayDialog | ( | CF_Dialogs | dialog, | |
| string | displaytext, | |||
| out string | resultvalue, | |||
| out string | resulttext | |||
| ) | [inherited] |
Displays system dialog.
| dialog | Dialog to display. | |
| displaytext | Display text. | |
| resultvalue | Returns result value when available. | |
| resulttext | Returns result text when available. |
| DialogResult CF_systemDisplayDialog | ( | CF_Dialogs | dialog, | |
| string | displaytext | |||
| ) | [inherited] |
Displays system dialog.
| dialog | Dialog to display. | |
| displaytext | Display text. |
| CF_Actions CF_systemGetCurrentLocation | ( | out string | param1 | ) | [inherited] |
Get current location.
| param1 | Will be populated with the plugin or application name, when current location is PLUGIN or EXTERNALAPP. |
| void CF_textToSpeech | ( | string | text, | |
| bool | synchronous | |||
| ) | [inherited] |
Converts text to speech.
| void CF_textToSpeech | ( | string | text | ) | [inherited] |
Converts text to speech.
| void CF_textToSpeechStop | ( | ) | [inherited] |
Stops text to speech.
| void CF_updateBufferStatus | ( | string | plugin, | |
| bool | buffermode | |||
| ) | [inherited] |
Update buffer status.
| void CF_updateButtonText | ( | string | buttonName, | |
| string | text, | |||
| bool | docaseconversion | |||
| ) | [inherited] |
Sets button text.
| buttonName | Button name. | |
| text | New text. | |
| docaseconversion | Do case conversion (upper, lower, title) as set in font property. |
| void CF_updateButtonText | ( | string | buttonName, | |
| string | text | |||
| ) | [inherited] |
Sets button text.
| buttonName | Button name. | |
| text | New text. |
| void CF_updateText | ( | string | labelName, | |
| string | text, | |||
| bool | docaseconversion | |||
| ) | [inherited] |
Sets label text.
| labelName | Label name. | |
| text | New text. | |
| docaseconversion | Flag to enable auto case conversion. |
| void CF_updateText | ( | string | labelName, | |
| string | text | |||
| ) | [inherited] |
Sets label text.
| labelName | Label name. | |
| text | New text. |
| void CF_writePluginLog | ( | string | msg, | |
| bool | writemain | |||
| ) | [protected, inherited] |
Writes plugin specific log.
Stored in plugin specific appdata directory, which is created by default the first time plugin calls CF3_initPlugin()
| msg | Log message to write to file. | |
| writemain | Write log message to main centrafuse.log in addition to plugin specific log. |
| void CF_writePluginLog | ( | string | msg | ) | [protected, inherited] |
Writes plugin specific log.
Stored in plugin specific appdata directory, which is created by default the first time plugin calls CF3_initPlugin()
| msg | Log message to write to file. |
| delegate void CFAudioStreamDataChangeEventHandler | ( | object | sender, | |
| CFTagInformation | e | |||
| ) | [protected, inherited] |
Audio Stream Data Change Event Handler.
| delegate void CFAudioStreamMessageChangeEventHandler | ( | object | sender, | |
| string | e | |||
| ) | [protected, inherited] |
Audio Stream Message Change Event Handler.
| delegate void CFBufferStatusEventHandler | ( | object | sender, | |
| CFBufferStatusArgs | e | |||
| ) | [protected, inherited] |
Buffer Status Event Handler.
| delegate void CFDriveEventHandler | ( | object | sender, | |
| CFDriveEventArgs | e | |||
| ) | [protected, inherited] |
Drive Event Handler.
| delegate void CFPlaylistHandler | ( | CFControls.CFListViewItem[] | playlist, | |
| bool | push | |||
| ) | [protected, inherited] |
Playlist loaded Event Handler.
| delegate void CFPowerModeChangedEventHandler | ( | object | sender, | |
| CFPowerModeChangedEventArgs | e | |||
| ) | [protected, inherited] |
Drive Event Handler.
| DialogResult ShowDialog | ( | Form | owner | ) | [inherited] |
ShowDialog override used to set modal flag.
| new DialogResult ShowDialog | ( | ) | [inherited] |
ShowDialog override used to set modal flag.
CFControls.CFAdvancedList [] advancedlistArray = null [inherited] |
Scroll Listview collection.
CFControls.CFButton [] buttonArray = null [inherited] |
Button collection.
CFButtonIndexes [] buttonIndexes = null [protected, inherited] |
Button index array.
int buttonLocation = 1 [inherited] |
Current button location.
bool buttonSelected = false [inherited] |
Currently selected button flag.
CFDisplayHooks CF_displayHooks [inherited] |
Plugin instance display hooks.
CFGlobalParams CF_globalParams = null [static, inherited] |
Centrafuse static global parameters.
CFControls.CFButton currButton = null [protected, inherited] |
Currently selected button.
Implement custom settings.
Any nav specfic settings that need to be exposed to the user can be done through this interface. The nav plugin must internally implement ICFInterfaceSetup, and internally instantiate this object.
CFControls.CFLabel [] labelArray = null [inherited] |
Label collection.
CFControls.CFListView [] listviewArray = null [inherited] |
Listview collection.
CFControls.CFPanel [] panelArray = null [inherited] |
Panel collection.
CFControls.CFPictureBox2 [] picturebox2Array = null [inherited] |
PictureBox2 collection.
CFControls.CFPictureBox [] pictureboxArray = null [inherited] |
Picture box collection.
internal ConfigReader pluginConfig = null [protected, inherited] |
Configuration reader.
internal LanguageReader pluginLang = null [protected, inherited] |
Language reader.
SkinReader pluginSkinReader = null [inherited] |
Skin reader.
CFControls.CFPositionIndicator [] positionindicatorArray = null [inherited] |
Position indicator collection.
CFControls.CFVis [] visArray = null [inherited] |
Visualization collection.
int currentButtonIndex [get, protected, inherited] |
Gets current button index.
ICFMain MainForm [get, set, inherited] |
Gets or sets main form.
new FormWindowState WindowState [get, set, inherited] |
Gets or sets form WindowState.
| Copyright © 2010 Flux Media, Inc. (U.S. Copyright Registration Number: TXu-1-239-794) |