Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Added new image tools to wxSmith

(1/3) > >>

Cryogen:

 Hi Guys,

I've added a new imagelist editor to wxSmith, taken from Ron Collins' very nice wxSmithImage plugin. Ron's plugin has been around for a while but had fallen out of sync. with recent changes. I've updated it for prop. grid 1.4 and cleaned it up substantially. Since we needed this facility in the core plugin, it seemed much more sensible to use the good work already done than try and redo it. Thanks Ron.

I have added wxImage and wxImageList management to wxSmith, along with the new property grid properties to support them, which means we can now import images in a much nicer fashion for use elsewhere. Therefore, I also updated my recent wxBitmapCombobox submission to use the new editor, rather than the clunky file-only facility that was initially used.

A sample image and the patches are attached.

Cryo.

Cryogen:

One note: This currently breaks compatibility with the wxSmithImage plugin i.e. you can't use them both because the same controls appearing in both conflict. I will shortly provide an version of wxSmithImage that doesn't conflict so that we can still use the other great tools it provides.

MortenMacFly:

--- Quote from: Cryogen on August 30, 2010, 06:28:45 pm ---I've added a new imagelist editor to wxSmith

--- End quote ---
Sounds good to me, I'll look into it once I find the time (I am rather busy atm...).

Cryogen:

--- Quote from: MortenMacFly on September 02, 2010, 09:06:11 pm ---
--- Quote from: Cryogen on August 30, 2010, 06:28:45 pm ---I've added a new imagelist editor to wxSmith

--- End quote ---
Sounds good to me, I'll look into it once I find the time (I am rather busy atm...).

--- End quote ---

Cool, thanks. :-)

MortenMacFly:

--- Quote from: Cryogen on September 03, 2010, 06:56:30 am ---Cool, thanks. :-)

--- End quote ---
Ok, I tried. Here are my remarks:
The original contribution had way more image controls included, like wxImageButton, wxImageComboEditDialog, wxImageListDialog... So it seems this is only a sub-set. Why? In fact it would make things more complicated...?!

For now, I'd rather submit the original add-on instead unless you have a very good reason.

Navigation

[0] Message Index

[#] Next page

Go to full version