News
May 29, 2008 at 10:29 am by Jay
The filebrowser is now at a state where it can actually be used. Instead of making the text area completely scrollable, I instead made it scrollable only as you type. With that working, it's enough to be usable at least. You can't move the cursor within text that already exists. While that's slightly unfortunate and a little annoying, it will be enough to make the browser work between now and when I add in that functionality. With the scrolling in place I added some simple hooks to catch when the user presses enter in the text area.

With all of the above in place, and the work from yesterday, the browser is now in a "happy" state. If you select or type your way to anything that isn't a directory it is assumed that what you want to do is overwrite said file path. For now I'm going to leave it to the caller/user of the filebrowser to perform any double checks with the user that this is, indeed, the action they want to take.

While the browser isn't the prettiest thing around, it's all I need to replace what Allegro had given me, and what is currently missing from Neverfall. Once I can inject this into the game things will be back on track after so long of an intermission. I can't wait! Inserting the new filebrowser into Neverfall won't be so plug and play, though. The Allegro broswer blocked, while mine does not. There's going to need to be some logic changes to handle the fact that you must manually poll my file browser. In any case, here's what it looks like in action (top left):


posted in Uncategorized

Comments are closed
copyright © 2001 - 2011 loomsoft