Search found 103 matches

by aquawicket
Sat Jan 28, 2012 10:32 pm
Forum: C++ Development
Topic: wxGraphicsContext and matrix routines
Replies: 2
Views: 1164

Re: wxGraphicsContext and matrix routines

Both work great.. thanks.
by aquawicket
Sat Jan 28, 2012 4:00 am
Forum: C++ Development
Topic: wxGraphicsContext and matrix routines
Replies: 2
Views: 1164

wxGraphicsContext and matrix routines

I've started playing with wxGraphicsContext to rotate and scale images. This may be more of a "working with drawing matrix's" than a wx question. If i want to have multiple images drawn in my wxGraphicsContext and give them seperate rotations, how can I achive that? When i rotate the second image, i...
by aquawicket
Mon Jan 02, 2012 2:09 am
Forum: C++ Development
Topic: Transparent Images and Events
Replies: 6
Views: 2182

Re: Transparent Images and Events

I've made good progress on this and still have one last issue. I don't wanna create a new thread so I'll post it here. I'm able to load transparent images and lay them on top of each other inside wxPanels so they may have their own events. Each image's wxPanel is a child of the last one to avoid ove...
by aquawicket
Fri Dec 16, 2011 10:48 pm
Forum: C++ Development
Topic: Transparent Images and Events
Replies: 6
Views: 2182

Re: Transparent Images and Events

Ok, that makes sense. I also noticed I can get all of the events to work correctly if I make each MyImage a child of the image below it so there are no siblings. All the events work great, but i loose transparency. background = new MyImage(this, wxPoint(0,0), wxT("background.png")); image1 = new MyI...
by aquawicket
Fri Dec 16, 2011 12:09 am
Forum: C++ Development
Topic: Transparent Images and Events
Replies: 6
Views: 2182

Re: Transparent Images and Events

Are there any samples, threads, or writings about this anywhere that you can think of.
I've scoured the forum and did lots of google searching without finding too much on this.
by aquawicket
Thu Dec 15, 2011 11:32 pm
Forum: C++ Development
Topic: Transparent Images and Events
Replies: 6
Views: 2182

Transparent Images and Events

I'm attempting to load .png files with transparent areas on top of one another while giving each image a mouse click event. A. Sometimes the transparent area is not drawn correctly on first run. Sometimes it is. Minimize then Restore will fix it. B. No matter what image i click on, MouseClick events...
by aquawicket
Fri Mar 18, 2011 8:27 pm
Forum: C++ Development
Topic: wxButton on another application
Replies: 0
Views: 622

wxButton on another application

I've been playing with controlling other programs by using their HWND handle on windows. I'm trying to get a wxButton that i've parented to another applications handle to work. For example, I can open windows calculator, get the handle to the panel the buttons are on and create another button on the...
by aquawicket
Wed Feb 02, 2011 8:42 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.9.1 with Visual Studio 2010 warnings
Replies: 2
Views: 1574

Ok, so I uninstalled 2.9.1 and reinstalled 2.8.11 on both of my PCs. I looks like 2.9.1 changed something in the environment becuse now I get the same warnings with 2.8.11 C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(C:\wxWidgets-2.8.11\...
by aquawicket
Thu Jan 27, 2011 6:43 pm
Forum: C++ Development
Topic: docking with wxGLCanvas
Replies: 13
Views: 2085

One more question. Since 2.8.11 does not have the wxGLCanvas::IsDisplaySupported function, how are you testing the success of you canvas creation proporties. It looks like the patch will automatically dumb down any multisampling properties to make a context that works. Any way to test the context to...
by aquawicket
Tue Jan 25, 2011 11:07 pm
Forum: C++ Development
Topic: docking with wxGLCanvas
Replies: 13
Views: 2085

I am using 2.8.11, and to get multisampling to work I had to apply this patch:
I take it you hand applied the patch since the diffs are for 2.8.9 ?

Thanks Dannys
by aquawicket
Tue Jan 25, 2011 10:15 pm
Forum: C++ Development
Topic: docking with wxGLCanvas
Replies: 13
Views: 2085

// ------------------ // Create the canvas // ------------------ int attribList[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_SAMPLE_BUFFERS, GL_TRUE, WX_GL_SAMPLES, DRAW_FSAA_SAMPLES, WX_GL_DEPTH_SIZE, 24, 0,0}; How did you get WX_GL_SAMPLE_BUFFERS and WX_GL_SAMPLES to work. I'm on wxWidgets 2.9.1 T...
by aquawicket
Tue Jan 25, 2011 8:21 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.9.1 with Visual Studio 2010 warnings
Replies: 2
Views: 1574

Ok.. I can confirm that this happens on more than one of my PC's So I know I didn't mess up my development evironment. As a result of these errors, CMAKE will not build my projects correctly. CMAKE cannot find the (mswu) wxWidgets config. I get a "wxWidgets Not Found". I can however get CMAKE to fin...
by aquawicket
Tue Jan 25, 2011 7:54 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.9.1 with Visual Studio 2010 warnings
Replies: 2
Views: 1574

wxWidgets 2.9.1 with Visual Studio 2010 warnings

Hey guys, I'm getting a few warnings when compiling wxWidgets 2.9.1 with Visual Studio 2010. I'm opening wx.dsw in the /build/msw folder as usual and building the debug and release configurations. Only thing I change is the debug from (MultiThreaded Debug DLL) to (MutiThreaded Debug) and (MultiThrea...
by aquawicket
Thu Jan 20, 2011 10:32 pm
Forum: The Code Dump
Topic: wx3dsOpenGL - Displaying .3ds files with wxWidgets & OGL
Replies: 3
Views: 4316

wx3dsOpenGL - Displaying .3ds files with wxWidgets & OGL

Here is the Start of a simple 3D Graphics engine which will load .3ds file verticies, colors and textures. It also includes a basic console for entering commands as well as a frames per second counter. You can use the mouse to position the object and set its rotation. The console will allow you to c...
by aquawicket
Thu Mar 18, 2010 9:12 am
Forum: C++ Development
Topic: wxWidgets c++ question
Replies: 11
Views: 1371

I've just followed some of the steps in this tutorial to understand the classes.

when i run thin code it gives me an error:
Make sure that you've compiled wxWidgets and you've included the wxWidgets libraries in your project.