Search found 5 matches

by Cittamatra
Thu Mar 19, 2020 2:13 pm
Forum: General Development
Topic: Mathplot - Plotting a vector data to both a primary and secondary y-axis
Replies: 0
Views: 1138

Mathplot - Plotting a vector data to both a primary and secondary y-axis

Hi all, I've been using Mathplot for a while now, but have a couple of issues. Does anyone know how to write vector data to a secondary y-axis? I've created 4 layers to plot, picked up from 4 vectors. The code that I've used plots all vectors to just one y-axis. I'd like to split them up. Any help w...
by Cittamatra
Tue Feb 11, 2020 11:04 am
Forum: The Code Dump
Topic: wxLED ported to wxGTK-2.8.4
Replies: 2
Views: 2731

Re: wxLED ported to wxGTK-2.8.4

Hi,

I had a look at the .tar file attached to the last post. I'd like to update the old 2005 LED class with this one. Can I ask what the procedure is, to install this updated LED widget into wxWidgets? All I've done so far, is to replace the wxLED .cpp and .h files.

Thanks
by Cittamatra
Tue Feb 11, 2020 9:59 am
Forum: C++ Development
Topic: wx/led problems
Replies: 7
Views: 656

Re: wx/led problems

Seems broken to me, led.cpp does not match led.h. For example, the declaration and definition of wxLed ctor is different (3 colors in declaration, 2 in definition), a missing declaration for SwitchOn/Off() methods. Seems that the header file lacks those "PJG" modifications, whatever it is. Yes, I a...
by Cittamatra
Mon Feb 10, 2020 4:06 pm
Forum: C++ Development
Topic: wx/led problems
Replies: 7
Views: 656

Re: wx/led problems

Ok, thanks for that. That is a bit more clear now. I still have problems getting LEDs to appear on the panel though. I actually had one GUI, where 2 LEDs appeared inside a panel/FlexGridSizer, but, when I add more LEDs, they don't appear at runtime. I've tried everything.
by Cittamatra
Mon Feb 10, 2020 11:17 am
Forum: C++ Development
Topic: wx/led problems
Replies: 7
Views: 656

wx/led problems

Hi all, I am trying to get a simple widgets application to work using wx/led.h The way I'm doing it is to drag a panel onto the wxFrame. Inside the panel, drop a FlexGridSizer, and into that, drop a few LEDs. The first problem is, the panel wants to cover the entire wxFrame. I can't make it cover ju...