Draw to Canvas or Direct-X window
BlitzMax Forums/MaxGUI Module/Draw to Canvas or Direct-X window
| ||
My question is oh mighty BMAX tech's is.... I am STILL working on my flagship product, my emulator (plug,plug) I started it without MAX-GUI and used the ol graphics.... command to set the window up. Do you think I should change to drawing on a canvas, how would I get on with keyboard input, I mean its a game console emulator so two or more keys can be held down, can gui handle input the same? what happens when drawing to a canvas when there PC doesnt have Direct-X installed? Should I change to canvas drawing or stay with the old? which is better any opinions? |
| ||
I mean its a game console emulator so two or more keys can be held down, can gui handle input the same? Is this applicable? |
| ||
Possible but I need to detect keys if mouse pointer is not over canvas. I use every single key on the keyboard including control-key etc and function keys to get all the emulator debug features in. could be a nightmare, I think I will stick with what I have. |
| ||
Canvas's can be opengl or directx. If you do not have them it will not work! The mouse/key code can still work as you have it. Using a Canvas will not stop the code from working. Just make you graphics faster. Make sure you have EnablePolledInput() before your main loop. |