Hi @all,
i have implemented an LED Button. This is a combination of an LED and a Button, which can show it's state.
Regards
Orbitcowboy
wxLEDButton
-
- I live to help wx-kind
- Posts: 178
- Joined: Mon Jul 23, 2007 9:01 am
wxLEDButton
- Attachments
-
- LedButtons1.png (3.3 KiB) Viewed 2690 times
-
- wxLEDButton100708.tar.gz
- Tested on Ubuntu 8.04 with gcc-4.2.1 and gcc-4.3.0; A makefile is also included.
- (10.47 KiB) Downloaded 222 times
Last edited by orbitcowboy on Thu Jul 10, 2008 11:55 am, edited 4 times in total.
The screenshot is a bit poor. Could you repost a screenshot that is in PNG and not truncated? Also, the colors are off so it seems.
Maybe a nice addition could be a blurry glow around the image, that is drawn with the wxClientDC so that it kind of looks like the led is actually glowing on the button.
All but all, it's a nice attempt do you also allow custom led pictures or are they stock images?
- Jorgen
Maybe a nice addition could be a blurry glow around the image, that is drawn with the wxClientDC so that it kind of looks like the led is actually glowing on the button.
All but all, it's a nice attempt do you also allow custom led pictures or are they stock images?
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
-
- I live to help wx-kind
- Posts: 178
- Joined: Mon Jul 23, 2007 9:01 am
Hi Jorg,
first of all, thank you for response. I have replaced the image. It is a bit better, ... .
It's a good idea, to place a blurry glow arround the image! Maybe, if i find some time, i will add this feature.
At the moment, custom picture leds are not allowed. This is also a possible extension.
Regards
Orbitcowboy
first of all, thank you for response. I have replaced the image. It is a bit better, ... .
It's a good idea, to place a blurry glow arround the image! Maybe, if i find some time, i will add this feature.
At the moment, custom picture leds are not allowed. This is also a possible extension.
Regards
Orbitcowboy