What GUI does this use?
Blitz3D Forums/Blitz3D Programming/What GUI does this use?
| ||
What GUI does this use & where may I find it? |
| ||
I wonder why there is no include statement. This would lead to me to believe it's a .dll GUI perhaps? |
| ||
think about it. WHAT gui is this command in? WaitEvent() |
| ||
This is a weakness of the Code Archives. You can't tell what language the code is in! It is actually written in BlitzPlus, which is essentially the old 2D BlitzBasic plus a built-in GUI. |
| ||
CRAP! so how can I update it so it works with Nightgui or something like that? |
| ||
think about what? if you dont know the answer you can't pull me up for having a guess... |
| ||
I don't know, try BlitzUI. |
| ||
no lol. i meant if u think about where that function is from, what gui do u think he used? |
| ||
It uses the Windows UI, surely? it's not based on images (or "skins", if you will). The OS will build the forms' and gadget's graphics automatically, just like when you use NotePad or MS-Paint. The GUI commands embedded in BlitzPlus create an easy interface for you to use the Windows UI without having to hook the API in some complex\boring way. Just like MaxGUI or wxMax. EDIT: The closest way to use this in Blitz3D is either using WinBlitz3D, or perhaps a simulated solution like the Devil's GUI engine. Unfortunately, both do not support a way to "wait for an event to happen", so their update loops use 100% of your CPU. |
| ||
Well that just SUCKS.... |
| ||
They still work, nonetheless. Give them a try. Here's the link for WinBlitz3D: http://www.whitegatesoftware.com/winblitz3d.zip PS: If you're going to use WinBlitz3D, make sure to download SCHNOK. It's a visual form editor for it; makes things much faster and easier. |
| ||
CRAP! schnok crashes. i have windows vista 32-bit version >< |
| ||
Holy cow, my code! I did that in B+, so that's the GUI I used. |
| ||
@Sauer, YOU wrote this? If so, kudos to u! =D |
| ||
still can't get schnok to work.. *sigh* i would have liked to have used it. Why does it get a MAV? |
| ||
Ok, I got this to work. SORTA.. Can u guys tell me what commands to replace w/ what and how? Here's what needs to be replaced: I need to know how to replace these lines, and I also need to know where to find a replacement function for RequestFile() |
| ||
@Rez - sorry it MAV'ed on you mate. Schnok doesn't sit very well on Vista ;) I didn't knew anyone still used that old proggy... Anyway, here's a version that should work on Vista, grab it here: www.xs4all.nl/~dendanny/SCHNOK/schnok.v1.00.rar Have fun, Danny. |
| ||
thanks danny! so guys, can someone help w/ the above? I really wanna help upgrade this apparent alpha version of this rpg drag drop editor |
| ||
You're going to have issues using this to create a drag and drop editor for RPG's using this code. Its intent was to create bitmap images for pen and paper RPG's, not generate level data for computer games. There is no data structure for storing the information contained in the cells, and while you could implement one, you'd probably be better off re-writing one from scratch. |
| ||
well yea, but i can see how this could easily be turned into just that. |
| ||
no offence meant here, but if you can see how easily it can be converted, after reading Sauer's post, this should be do-able by yourself. |
| ||
No offense taken. I simply need to know the replacement functions |
| ||
It's realllly hard to be nice to you. ah, i see you have edited your post to say no offence. |
| ||
Hey I did NOTHING to u. I said I simply need to know the replacement functions. No more, no less. I havent called u a name or done ANYTHING to u.. |
| ||
:) |
| ||
Ok, at least tell me what dll "requestfile", "createcanvas", "canvasbuffer", and "flipcanvas" is in. |
| ||
They're BlitzPlus commands; they're not in a DLL. You'll either need to get BlitzPlus (there's a free demo, don't know if it's got use-limitations) or reconstruct their functionality in native B3D code. RequestFile looks like a file requester box - you know when you click File -> Open at the top left of many applications, you get a box to let you choose... that thing. It looks like it returns the name of a file which is then loaded normally, so you could just cut it out and replace it with a constant filename for now, until you've worked out what you want to do about a replacement GUI system. I have no idea what a canvas is, but it sounds like some kind of independent drawing area that can be updated separately from the BackBuffer. If this is the case there is no way to do that from within Blitz3D so you'd have to draw this information somewhere on the main screen instead. So perhaps try commenting out the bits not completely necessary to functionality (information boxes etc.), and drawing the rest to a dedicated canvas area somewhere to one side of the screen? |
| ||
WinBlitz3D \ examples \ Kev \ GUI \ WB3D_OpenFileRequest.bb |
| ||
Thanks Kryzon, but I found some code that allows request file AND drag & drop file |
| ||
as for the canvas stuff on here, what function can i use to replace them? |
| ||
You need to write your own, probably involving using an image buffer. |