Search found 103 matches
- Sat Jan 28, 2012 10:32 pm
- Forum: C++ Development
- Topic: wxGraphicsContext and matrix routines
- Replies: 2
- Views: 2015
Re: wxGraphicsContext and matrix routines
Both work great.. thanks.
- Sat Jan 28, 2012 4:00 am
- Forum: C++ Development
- Topic: wxGraphicsContext and matrix routines
- Replies: 2
- Views: 2015
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 secon...
- Mon Jan 02, 2012 2:09 am
- Forum: C++ Development
- Topic: Transparent Images and Events
- Replies: 6
- Views: 3428
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...
- Fri Dec 16, 2011 10:48 pm
- Forum: C++ Development
- Topic: Transparent Images and Events
- Replies: 6
- Views: 3428
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...
- Fri Dec 16, 2011 12:09 am
- Forum: C++ Development
- Topic: Transparent Images and Events
- Replies: 6
- Views: 3428
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.
I've scoured the forum and did lots of google searching without finding too much on this.
- Thu Dec 15, 2011 11:32 pm
- Forum: C++ Development
- Topic: Transparent Images and Events
- Replies: 6
- Views: 3428
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...
- Fri Mar 18, 2011 8:27 pm
- Forum: C++ Development
- Topic: wxButton on another application
- Replies: 0
- Views: 1366
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...
- 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: 2231
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\...
- Thu Jan 27, 2011 6:43 pm
- Forum: C++ Development
- Topic: docking with wxGLCanvas
- Replies: 13
- Views: 4434
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...
- Tue Jan 25, 2011 11:07 pm
- Forum: C++ Development
- Topic: docking with wxGLCanvas
- Replies: 13
- Views: 4434
- Tue Jan 25, 2011 10:15 pm
- Forum: C++ Development
- Topic: docking with wxGLCanvas
- Replies: 13
- Views: 4434
// ------------------ // 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...
- 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: 2231
- 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: 2231
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...
- Thu Jan 20, 2011 10:32 pm
- Forum: The Code Dump
- Topic: wx3dsOpenGL - Displaying .3ds files with wxWidgets & OGL
- Replies: 3
- Views: 5960
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...
- Thu Mar 18, 2010 9:12 am
- Forum: C++ Development
- Topic: wxWidgets c++ question
- Replies: 11
- Views: 2729