Search found 178 matches

by orbitcowboy
Sat Aug 25, 2007 9:01 am
Forum: wxCode
Topic: Next wxWidgets Release,.... Question
Replies: 3
Views: 1031

Next wxWidgets Release,.... Question

Hi @all, is it possible to adapt code (published on wxCode) to the next wxWidgets release? There are such an amount of great source code available on this site. For example: wxPlotCtrl, wxChart, wxThings, wxSpinCtrls (for floating points numbers)... and many many others.... What do you think about i...
by orbitcowboy
Fri Aug 24, 2007 7:33 am
Forum: The Code Dump
Topic: wxLED ported to wxGTK-2.8.4
Replies: 2
Views: 2326

wxLED ported to wxGTK-2.8.4

Hi @all,

i've ported the wxLED class, found on wxCode, to wxGTK-2.8.4.

A sample is also included.

Regards

Orbitcowboy
by orbitcowboy
Wed Aug 22, 2007 10:18 am
Forum: wxCode
Topic: Plot raw data Points with wxPlotCtrl
Replies: 5
Views: 2672

Great!Thanks for your help!

Orbitcowboy
by orbitcowboy
Wed Aug 22, 2007 8:54 am
Forum: wxCode
Topic: Plot raw data Points with wxPlotCtrl
Replies: 5
Views: 2672

thanks for your answer but, m_PlotCtrl = new wxPlotCtrl(this,wxID_ANY); wxPlotData *m_PlotData = new wxPlotData(1000,true); for(int iIndex = 0; iIndex < 1000; iIndex ++) { m_PlotData->SetXValue(iIndex,cos(static_cast<double>(iIndex))); m_PlotData->SetYValue(iIndex,-sin(static_cast<double>(iIndex)));...
by orbitcowboy
Wed Aug 22, 2007 7:31 am
Forum: The Code Dump
Topic: wxIndustrial Controls Sample wxGTK 2.8.4
Replies: 6
Views: 3182

Hello,

"Why the fork? Did you make many changes?"
- i made a fork because of a many many changes....a part of the controls are now derived form a base class accepting key events, in order to alter its state etc.
- i've also modified the code to remove all compilerwarnings from gcc

Orbitcowboy
by orbitcowboy
Tue Aug 21, 2007 12:10 pm
Forum: wxCode
Topic: Plot raw data Points with wxPlotCtrl
Replies: 5
Views: 2672

Plot raw data Points with wxPlotCtrl

Hi @all,

is it possible to draw a set of raw data points with wxPlotCtrl?
I 've just found the wxPlotCtrl::AddCurve(...) function , drawing an interpolated function of the given datapoints. In my Application i want to draw a set of points.... can anybody help me?

Regards

Orbitcowboy
by orbitcowboy
Tue Aug 21, 2007 6:56 am
Forum: The Code Dump
Topic: wxIndustrial Controls Sample wxGTK 2.8.4
Replies: 6
Views: 3182

Hello again,

here a screenshot of the demo app

Regards

Orbitcowboy
by orbitcowboy
Tue Aug 21, 2007 6:51 am
Forum: The Code Dump
Topic: wxIndustrial Controls Sample wxGTK 2.8.4
Replies: 6
Views: 3182

wxIndustrial Controls Sample wxGTK 2.8.4

Hi @all,

i have ported a few controls from wxCode page to wxGTK-2.8.4 (see attachment).
-LCD Display
-Bitmap switcher
-Angular Regulator
-Angular Meter
-Slider

A short sample and a makefile is included.

Regards

Orbitcowboy
by orbitcowboy
Fri Aug 03, 2007 6:18 pm
Forum: wxCode
Topic: wxPlotCtrl with wxGTK
Replies: 1
Views: 791

adding the -fPIC compiler option in the makefile for all *.c files solved the linker error!
by orbitcowboy
Wed Aug 01, 2007 12:11 pm
Forum: wxCode
Topic: wxPlotCtrl with wxGTK
Replies: 1
Views: 791

wxPlotCtrl with wxGTK

<!-- -->Hi @all, i have tried to build wxPlotCtrl from the wxCode-Homepage. But i get a linker error: Here the dump: g++ -c -I/usr/local/lib/wx/include/gtk2-unicode-release-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -DPNG_NO_MMX_CODE -I/usr/include/gtk...
by orbitcowboy
Wed Aug 01, 2007 7:05 am
Forum: wxCode
Topic: wxChart -1.0 with wxGTK-8.4
Replies: 3
Views: 888

I solved it!

The pragma #defines at the beginning of the headers has to be removed!

'wxPieChartPoints'
'wxBarChartPoints'
'wxPie3DChartPoints'
'wxBar3DChartPoints'

Thanks for your help!

Orbitcowboy
by orbitcowboy
Wed Aug 01, 2007 6:36 am
Forum: wxCode
Topic: wxChart -1.0 with wxGTK-8.4
Replies: 3
Views: 888

<!-- -->Thanks for your suggestion! But it doesn't help: g++ -o samples/minimal minimal_wxchart.o -L./lib -L./lib -L/usr/local/lib -pthread -lwxchart -lwx_gtk2_core-2.8 -lwx_base-2.8 ./lib/libwxchart.so: undefined reference to `vtable for wxPieChartPoints' ./lib/libwxchart.so: undefined reference to...
by orbitcowboy
Tue Jul 31, 2007 11:54 am
Forum: wxCode
Topic: wxChart -1.0 with wxGTK-8.4
Replies: 3
Views: 888

wxChart -1.0 with wxGTK-8.4

Hi @all, i've tried to compile the wxChart source from wxCode on my Linux system (Ubuntu Linux 7.04, gcc-3.3.6). I get the following error message: g++ -o samples/minimal minimal_wxchart.o -L./lib -L./lib -L/usr/local/lib -pthread -lwx_gtk2_core-2.8 -lwx_base-2.8 -lwxchart ./lib/libwxchart.so: undef...