Computer Science Canada GUI - Relationships |
Author: | TheEvilOne [ Mon Apr 18, 2005 7:40 am ] |
Post subject: | GUI - Relationships |
Alright, heres my current dilemma: I am in the process of taking my "Portable Map Creator" and putting it into a GUI based system, where you can basically create a new map, import tiles, place tiles, save map, import into turing, etc. In the turing reference, under frames it states: Frames are the only GUI widgets that can have other widgets placed within them. Frames are passive widgets, meaning that they do not respond to button clicks or keystrokes. I was under the impression that meant that frames could be used to make parent/child relationships between the frame and other objects. What I am trying to do is this: I am trying to find out how to create a canvas, inside the frame, as a child object. So far, I havent been able to find a way to do it. Any ideas? ![]() |
Author: | jamonathin [ Mon Apr 18, 2005 8:33 am ] |
Post subject: | |
take a look at this. I used this for one of my games that I made, and rpg, and the coding may not be perfect since I used it for my own use, and wouldn't really care what anyone thought about it, but there might be some stuff on there that may help you out. |
Author: | TheEvilOne [ Mon Apr 18, 2005 12:22 pm ] |
Post subject: | |
It seems to crash because of an Access Violation ![]() |
Author: | jamonathin [ Mon Apr 18, 2005 1:21 pm ] | ||
Post subject: | |||
Oh, my bad, you just have to change line 37. I forgot to set it to default to a blank image, not a previous made one.
|
Author: | TheEvilOne [ Mon Apr 18, 2005 5:12 pm ] |
Post subject: | |
Ok... well its kinda what im doing. Except mine is a lot more advanced. My only problem right now is the canvas not working right. Other than that, you can create, open, modify, save, and load maps into turing. I guess ill just find some other way to do it. |
Author: | jamonathin [ Mon Apr 18, 2005 8:26 pm ] |
Post subject: | |
GUI = not more advanced. It practically does everything for you. Yeah it looks fancier, but fancy doesn't mean advanced. GUI = more user friendly. |
Author: | TheEvilOne [ Tue Apr 19, 2005 8:51 am ] |
Post subject: | |
Ok sorry. Not more advanced, just more options that im creating, that I didnt see in yours, like collision, tile editing, and that you can import more tiles. Didnt mean to offend ![]() |
Author: | jamonathin [ Tue Apr 19, 2005 10:55 am ] |
Post subject: | |
no worries man |
Author: | c0bra54 [ Wed Apr 20, 2005 12:27 am ] |
Post subject: | |
rawwrr Rob ![]() lol so you finally got it to work.. well kinda, lol here have some bits, o and post the new vers you have, i wanna see here ![]() +Bits |