wxLEDPanel

Categories: controlStatus: ALPHAComponent logo
Author: Christian GräfewxWidgets supported ports: wxMSW
Current maintainer: Christian GräfewxWidgets supported versions: 2.8
Latest version: 0.2Build system: Bakefile-based
Programming language: C++Samples provided: 1
External dependencies: noneDocumentation: notavailable

Description: wxLEDPanel is, like the name says, a Panel with LEDs. It can be used as ticker with scrolling text or to show static text.

Links for wxLEDPanel:


Usage sample

^ TOP

// sample CPP snippet which shows how to use this component:
// LEDPanel with LED-size 4x4 and Panel with 65x9 LEDs, no padding between the LEDs
wxLEDPanel *ledpanel = new wxLEDPanel(this,wxID_ANY,wxSize(4,4),wxSize(65,9),0);
ledpanel->SetLEDColour(wxLED_COLOUR_GREEN);	// Green LEDs
ledpanel->SetText(wxT("WXLEDPANEL"),wxALIGN_CENTER);
// Thats all, if you want the text to scroll, then add this
ledpanel->SetScrollDirection(wxLED_SCROLL_LEFT);
ledpanel->SetScrollspeed(100);

Known bugs

^ TOP

None. To submit a bug report please look at wxCode support page.


Future enhancements

^ TOP

None. To submit a feature request please look at wxCode support page.