Jump to content




GUI File Browser

lua

  • You cannot reply to this topic
51 replies to this topic

#1 inventor2514

  • Members
  • 63 posts

Posted 04 July 2012 - 11:57 PM

Description
This generically named file browser offers a convenient pseudo-GUI solution for your file browsing needs. Files and directories are portrayed with ASCII icons and standard functions are available in menus. Scroll up/down, close, and back "buttons" are present on the window-like screen border, but their functions can also be accessed with keys. Suggestions and constructive criticisms are appreciated!

Controls
Spoiler

Pictures
Spoiler

Changelog
Spoiler

Downloads
Spoiler

Newer versions use the mouse, so advanced computers only. If you insist on a regular computer, use the old keyboard version.

#2 rex41043

  • Members
  • 88 posts

Posted 05 July 2012 - 02:26 AM

not bad i like it

#3 Mendax

  • Members
  • 366 posts

Posted 05 July 2012 - 06:08 AM

Wow. This is AMAZING. May I include this in ShadOS? (Slight Modification :P/>)

#4 Deathknight0897

  • New Members
  • 95 posts

Posted 05 July 2012 - 11:58 AM

this is very impressive would you pm me your source please so i may inspect it and take notes

#5 inventor2514

  • Members
  • 63 posts

Posted 05 July 2012 - 01:36 PM

View Postmrminer84403, on 05 July 2012 - 06:08 AM, said:

Wow. This is AMAZING. May I include this in ShadOS? (Slight Modification :P/>)

Feel free to use/modify my code as long as you credit me as the original author. That goes for anyone who is interested.

#6 Mendax

  • Members
  • 366 posts

Posted 05 July 2012 - 02:25 PM

Ok, thanks! Quick question, how do I change the top bar? I want to add '[SExplorer]' next to the / on the top left...

#7 inventor2514

  • Members
  • 63 posts

Posted 05 July 2012 - 02:34 PM

View Postmrminer84403, on 05 July 2012 - 02:25 PM, said:

Ok, thanks! Quick question, how do I change the top bar? I want to add '[SExplorer]' next to the / on the top left...

Locate the drawBorder() function and append:
output(2, 1, "[SExplorer]")


#8 Mendax

  • Members
  • 366 posts

Posted 05 July 2012 - 02:36 PM

Ok, I'll try that. :D/> Thanks!
EDIT:
Worked :)/>
(Although I moved it a little :P/>)
Posted Image
Also, is it possible to change the cursor? I want to change it to a +

#9 inventor2514

  • Members
  • 63 posts

Posted 05 July 2012 - 04:22 PM

Changing the cursor is not currently possible as I used the built-in cursor from the term API, but I might add support for custom cursors in a future update.

#10 tfoote

  • New Members
  • 134 posts
  • LocationSalt Lake, UT

Posted 05 July 2012 - 11:49 PM

Nice! I have to create something similar to that so Thanks for the Excellent Example!

#11 inventor2514

  • Members
  • 63 posts

Posted 06 July 2012 - 02:58 AM

Just updated to v1.1! I'm surprised that my bug wasn't noticed; I also tweaked a few things.

#12 Mendax

  • Members
  • 366 posts

Posted 06 July 2012 - 05:55 AM

So how do I change the cursor?

Quote

+ Added support for custom cursors (default is smoother)
EDIT: While using custom cursor, it bugs when using a menu.

#13 Deathknight0897

  • New Members
  • 95 posts

Posted 06 July 2012 - 09:34 AM

insert <derp comment>

#14 inventor2514

  • Members
  • 63 posts

Posted 06 July 2012 - 12:52 PM

View Postmrminer84403, on 06 July 2012 - 05:55 AM, said:

EDIT: While using custom cursor, it bugs when using a menu.

I just updated; this should be fixed now.

#15 inventor2514

  • Members
  • 63 posts

Posted 06 July 2012 - 09:06 PM

Updated to v 1.3.0! Aside from fixes to bugs that may arise, this should be the last update for a while.

#16 inventor2514

  • Members
  • 63 posts

Posted 14 July 2012 - 01:48 AM

Minor update this time; nothing fancy.

#17 Exerro

  • Members
  • 801 posts

Posted 14 July 2012 - 09:15 AM

this looks rly good can i use it in my os with only a few gui changes

#18 inventor2514

  • Members
  • 63 posts

Posted 14 July 2012 - 12:01 PM

View Postinventor2514, on 05 July 2012 - 01:36 PM, said:

Feel free to use/modify my code as long as you credit me as the original author. That goes for anyone who is interested.


#19 Exerro

  • Members
  • 801 posts

Posted 15 July 2012 - 10:43 AM

wow thats rly complicated...would u be able to change the gui a bit and send it to me pls?

#20 inventor2514

  • Members
  • 63 posts

Posted 15 July 2012 - 12:50 PM

View Postawsumben13, on 15 July 2012 - 10:43 AM, said:

wow thats rly complicated...would u be able to change the gui a bit and send it to me pls?
That depends. What exactly would you want changed?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users