Search found 144 matches
- Sat Apr 15, 2006 3:56 am
- Forum: C++ Development
- Topic: Drawing bitmap by using glBitmap in wxGLCanvas
- Replies: 2
- Views: 1163
Drawing bitmap by using glBitmap in wxGLCanvas
I posted this question under general forum but nobody anwser me. I post here again: I'm very new to OpenGL and I'm trying to show a bitmap in wxGLCanvas, but it shows a black screen. Here is my code: GLubyte rasters[24] = { 0xc0, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0xff, 0x00, 0xff...
- Fri Apr 14, 2006 10:19 am
- Forum: General Development
- Topic: Showing bitmap on wxGLCanvas
- Replies: 4
- Views: 974
Showing bitmap on wxGLCanvas
I'm very new to OpenGL and I'm trying to show a bitmap in wxGLCanvas, but it shows a black screen. Here is my code: GLubyte rasters[24] = { 0xc0, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0xff, 0x00, 0xff, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0xff, 0xc0, 0xff, 0xc0}; void CTestCanva...
- Thu Apr 13, 2006 3:50 am
- Forum: General Development
- Topic: wxWidgets,opengl,2d game
- Replies: 3
- Views: 1540
- Wed Apr 12, 2006 5:49 am
- Forum: General Development
- Topic: wxWidgets,opengl,2d game
- Replies: 3
- Views: 1540
wxWidgets,opengl,2d game
I'm currently planning to write a 2d game which only have a few small sprites (no more than 15) , a background and a few drawing such as line, rect, arc etc on screen. The wxWidgets is very suitable for the UI part. For the graphics part, I'm going to use wxGLCanvas. My questions are: 1. Does wxGLCa...
- Mon Mar 27, 2006 10:14 am
- Forum: C++ Development
- Topic: Specify the position of child process
- Replies: 4
- Views: 867
- Mon Mar 27, 2006 6:20 am
- Forum: C++ Development
- Topic: Specify the position of child process
- Replies: 4
- Views: 867
- Mon Mar 27, 2006 5:48 am
- Forum: C++ Development
- Topic: Specify the position of child process
- Replies: 4
- Views: 867
Specify the position of child process
I've spawn a child process by wxExec function. My question is how to specify the x,y position of this child process?
- Wed Dec 14, 2005 3:36 pm
- Forum: C++ Development
- Topic: How to detect another frame is closed
- Replies: 2
- Views: 651
How to detect another frame is closed
I have a main frame which will spawn another child frame. My question is how can I know the child frame is closed by main frame?
- Sat Dec 10, 2005 9:59 am
- Forum: C++ Development
- Topic: wxWidgets and Allegro
- Replies: 1
- Views: 638
wxWidgets and Allegro
I've posted a simular message to forum of www.allegro.cc and I'd also like to try my luck here to see if I can get any help. I'm currently developping a game-like application by using Allegro. But I dislike the UI made by Allegro. So I decide to use wxWidgets. I managed to integrated Allegro into a ...