Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 3355
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 730 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: Fri Mar 29 11:46:52 CET 2024

Total time taken to generate the page: 0.01391 seconds