U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » UppHub » LedLabel new package
Re: LedLabel new package [message #42475 is a reply to message #42470] Tue, 18 March 2014 14:16 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3460
Registered: August 2008
Senior Veteran
Hello Deep

They are cool Smile.

Personally I would add some things:
- Preconfigured classes are now like this:
class RedLed : public LedLabel {
public :
	RedLed() {
		On = LedImg::redLed();
		Off = LedImg::offLed();
		Status = false ;	
	}
};
I would move Status = false to LedLabel constructor and I would create a LedLabel constructor with on and off images.
LedLabel(Image on, Image off);

- To resize image to fit vertically and horizontally in control Size. "With custom image" first control (the one with "OFF") is cut.
index.php?t=getfile&id=4472&private=0
- To add push "Option like" buttons with on-off behavior but using images. The ones in the right side are very nice.
- To include .usc files. If it is difficult for you I could help
  • Attachment: Image.jpg
    (Size: 27.99KB, Downloaded 1358 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp package binding for LLVM/Clang library (libclang)
Next Topic: VLCPlayer compile only with libvlc v. 1.1.10 and later
Goto Forum:
  


Current Time: Wed Jul 15 19:31:39 GMT+2 2026

Total time taken to generate the page: 0.00596 seconds