GfxWidgets - (Graphic Widgets for wxWidgets)
-
- Earned some good credits
- Posts: 103
- Joined: Sun Aug 05, 2007 5:49 am
GfxWidgets - (Graphic Widgets for wxWidgets)
GWidgets was created to easily manage replacing native controls with graphic based controls such as Bitmaps and .XPM files.
*Componets
----------
GButton - A graphic based button that supports bitmaps and xpm images. GButton can accept multiple images for mouseover and click effects and can generate a GButtonEvent on clicks.
GCurve - A grid style plot graph for creating curves. This class is still in early stages.
GImage - A basic way to auto create a panel and load an image onto it. Supports bitmap images and .xpm images.
GKnob - A rotary knob that can be used for adjusting volumes and such. Supports mouse wheel for rotation.
GMeter - A VU meter with a built in global timer for animation.
GNumberBox - A text box that can be set to a number within a range. Supports keyboard, arrow keys, and mouse wheel inputs.
GScrollBar - A graphic replacement for the ordinary scrollbar. This class is still in early stages.
GSlider - A slider control much like a volume slider. Supports keyboard and mouse wheel input as well.
GText - A class to display custom font and styled text. This class is still in early stages.
GToggle - A graphic based checkbox. This class is still in early stages.
Note: Alot of these componets could use some love. If you happen to make changes or additions to any of the GWidgets code, please feel free to share your updates.
*Componets
----------
GButton - A graphic based button that supports bitmaps and xpm images. GButton can accept multiple images for mouseover and click effects and can generate a GButtonEvent on clicks.
GCurve - A grid style plot graph for creating curves. This class is still in early stages.
GImage - A basic way to auto create a panel and load an image onto it. Supports bitmap images and .xpm images.
GKnob - A rotary knob that can be used for adjusting volumes and such. Supports mouse wheel for rotation.
GMeter - A VU meter with a built in global timer for animation.
GNumberBox - A text box that can be set to a number within a range. Supports keyboard, arrow keys, and mouse wheel inputs.
GScrollBar - A graphic replacement for the ordinary scrollbar. This class is still in early stages.
GSlider - A slider control much like a volume slider. Supports keyboard and mouse wheel input as well.
GText - A class to display custom font and styled text. This class is still in early stages.
GToggle - A graphic based checkbox. This class is still in early stages.
Note: Alot of these componets could use some love. If you happen to make changes or additions to any of the GWidgets code, please feel free to share your updates.
- Attachments
-
- Gwidgets.zip
- (85.64 KiB) Downloaded 470 times
Last edited by aquawicket on Wed Jan 12, 2011 6:11 pm, edited 5 times in total.
-
- Knows some wx things
- Posts: 47
- Joined: Fri Dec 14, 2007 1:10 am
-
- Earned some good credits
- Posts: 103
- Joined: Sun Aug 05, 2007 5:49 am
png support is something I would love to add and hope to do so in the near future.Impressive. But why not support png file which support alpha channel that make the image egde more smooth than xpm file since xpm file only supports transparent color and 8 bit deepth..
Also, I use GIMP to create my XPM images and it seems to retain the depth @ 24bit for me no problem along with transparent if needed.
-
- In need of some credit
- Posts: 6
- Joined: Tue Nov 18, 2008 11:19 pm
-
- Earned some good credits
- Posts: 103
- Joined: Sun Aug 05, 2007 5:49 am
Update
Here's 0.2b i guess..
ENJOY
Added some features . . .
fixed some bugs . . .
ENJOY
Added some features . . .
fixed some bugs . . .
- Attachments
-
- Gwidgets-0.2b.zip
- (84.96 KiB) Downloaded 327 times
Re: Update
Thank you.aquawicket wrote:Here's 0.2b i guess..
ENJOY
Added some features . . .
fixed some bugs . . .
-
- I live to help wx-kind
- Posts: 178
- Joined: Mon Jul 23, 2007 9:01 am
Re: Update
Hey,aquawicket wrote:Here's 0.2b i guess..
ENJOY
Added some features . . .
fixed some bugs . . .
your work looks great! Thank your for the update and the bugfixes.
What new features have you implemented?
Regards
Orbitcowboy
-
- Earned some good credits
- Posts: 103
- Joined: Sun Aug 05, 2007 5:49 am
Basically just added GImageSelector
GImageSelector is a bitmap panel that when clicked allows you to browse and select the .bmp file to show on the panel. Kinda like an image swapper.
If anyone would like to help out, I'm having a rare assert issue with GMeter.
The thread about the issue is here.
http://forums.wxwidgets.org/viewtopic.php?p=98161#98161
P.S. If we like GWidgets, I'm thinking about creating a public SVN dedicated to adding graphic components to wxWidgets. I know wx was not made for non native controls, but I think the API is strong enough to do it.
GImageSelector is a bitmap panel that when clicked allows you to browse and select the .bmp file to show on the panel. Kinda like an image swapper.
If anyone would like to help out, I'm having a rare assert issue with GMeter.
The thread about the issue is here.
http://forums.wxwidgets.org/viewtopic.php?p=98161#98161
P.S. If we like GWidgets, I'm thinking about creating a public SVN dedicated to adding graphic components to wxWidgets. I know wx was not made for non native controls, but I think the API is strong enough to do it.
-
- Earned some good credits
- Posts: 103
- Joined: Sun Aug 05, 2007 5:49 am
GWidgets has been renamed to GfxWidgets.
public open source SVN available for everyone.
http://code.google.com/p/gfxwidgets/
public open source SVN available for everyone.
http://code.google.com/p/gfxwidgets/