Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Led plugin
Cryogen:
Hey Jonas,
--- Quote from: ZinnJonas on September 22, 2010, 01:32:19 pm ---My system is Win7 (64Bit), but i use Mingw 32 Bit with wxWidgets 2.8.11 and the newest svn of codeBlocks at the moment( 6620)
the changes are:
--- Code: ---Adding wxpropgrid library to wxSmithKWIC and change the path from
..\wxSmith\propgrid\contrib\include
to
..\..\..\sdk\wxpropgrid\include
wxsangularmeter.cpp:
void wxsAngularMeter::OnAddExtraProperties(wxsPropertyGridManager *Grid)
{
#if wxCHECK_VERSION(2, 9, 0) || wxCHECK_PROPGRID_VERSION(1, 4, 0)
--- End code ---
--- End quote ---
Yes! My bad. I didn't realise until last weekend that I hadn't checked it in. I changed it when the propgrid version used by wxSmith changed. My apologies. That's why you need to get the latest SVN. It's fixed now.
--- Quote from: ZinnJonas on September 22, 2010, 01:32:19 pm ---One Problem i can't change, at the moment, if you select one ctrl and put it in your window it isn't drawn until you resize it.
Some of the contrlos don't like to be resized like the Linearregulator and the AngularRegulator.
--- End quote ---
I see what you mean. That's not quite right. It's that the default control size is very small. It is drawn, there's just not much to see until you make it bigger. I spent some time looking into it but, as I recall, didn't find a way to change the default size at the time. Also, who's to say what the default size should be? All the same I'd prefer it to be a bit bigger, as well.
Cheers.
ZinnJonas:
Hey after a long time a added a new Led a state Led, which can enter different states, and u can define for each state an other color.
i had added it to the svn path above, and also write 2 patches for wxSmithContribItems ( wxSmithStateLed.patch) and wxContribItems (wxLepPatch.patch)
best regrades zinnjonas
MortenMacFly:
--- Quote from: ZinnJonas on February 25, 2013, 04:32:17 am ---best regrades zinnjonas
--- End quote ---
Thanks - I'll try to take care... :-)
MortenMacFly:
--- Quote from: ZinnJonas on February 25, 2013, 04:32:17 am ---i had added it to the svn path above, and also write 2 patches for wxSmithContribItems ( wxSmithStateLed.patch) and wxContribItems (wxLepPatch.patch)
--- End quote ---
Seem the files wxsStateLed{.cpp/.h} are missing from wxsmith contib items -> does not compile this way. :-(
ZinnJonas:
sorry you are right ...
Navigation
[0] Message Index
[*] Previous page
Go to full version