UniversalGUI / UGUI

Universal Graphical User Interface
http://UGUI.io
MIT License
207 stars 15 forks source link

Looking forward to this! #1

Open tyeeman opened 9 years ago

tyeeman commented 9 years ago

I am, but how do I use it. I am on Win7 and I just ran index.htm. I want to make radio buttons for options and check boxes but how? Is there a forum where development is being discussed?

TheJaredWilcurt commented 9 years ago

Hey! It's awesome that you're excited about UGUI. We're currently in the process of designing and building a website UGUI.io. That website will have an explainer video, download link, tutorials section, documentation, additional starter templates, and a section to spotlight applications people have made using UGUI.

UGUI is nearing completion. I finished testing in Ubuntu and OSX, and have one last important change to make before version 1.0 comes out in the next few days.

For now if you'd like to try it out, the easiest way to run it is to download a copy of NW.js from NWJS.io, then download the zip version of UGUI from this Github repo. Extract the NW.js folder to your desktop. Then open the UGUI zip and move the contents of it into the nwjs folder. All of the UGUI stuff should be in the same spot as nwjs, so that the nwjs.exe and the package.json are in the same directory. Then just run the nwjs.exe file and it should launch the UGUI app.

To create your own application, edit the package.json file and the index.htm. More detailed tutorials coming soon.

As far as forums go, we use the GitHub Issues page for feature requests and bug reports, and UGUI.reddit.com for community and general support stuff:

tyeeman commented 9 years ago

Thanks for the info! I put all the files in one folder, looks like they are calling nwjs.exe, nwjc.exe now. So I ran nwjc.exe and got a fast scrolling window that ended in this -

--log_instruction_file (AArch64 instruction statistics log file.)
       type: string  default: arm64_inst.csv
 --log_instruction_period (AArch64 instruction statistics logging period.)
       type: int  default: 4194304
 --redirect_code_traces (output deopt information and disassembly into file code-<pid>-<isolate id>
asm)
       type: bool  default: false
 --redirect_code_traces_to (output deopt information and disassembly into the given file)
       type: string  default: NULL
 --hydrogen_track_positions (track source code positions when building IR)
       type: bool  default: false

Any tips what's happening?

Update - I had to run nw.exe and then the app opened ok.

Getting this error after I drag and drop my cli app on gui and click run. I am using Firefox, not Chrome -

cli_filename Array[7]
events.js:125 Uncaught Error: spawn cli_filename ENOENT
TheJaredWilcurt commented 9 years ago

nwjc is a separate executable, it's meant for some more advanced stuff. It's a little experimental last I checked, but the idea is for people who want to distribute their application without sharing the source code. You can load up your application, then have nwjc take a live-in-memory snapshot of it and store it as an executable. Again, this is advanced, and you really shouldn't worry about it for a while. There should be a nw.exe or nwjs.exe depending on the version you download.

Until the tutorials are created and up on UGUI.io, you should check out the NWJS documentation.

Also there is some misunderstanding, you don't use Firefox or Chrome. NW.js is a portable, modified version of the Chromium browser with IO.js built in. That's probably more than you need to know, but just understand that NW.js IS your browser, and UGUI/Your App can only run in it as it has magical super powers that regular browsers don't (access hardware, filesystem, and the ability to run executables).

tyeeman commented 9 years ago

Ok, I got it regarding the browser. There is one small bug in windows, after I open UGUI and the main window appears, if I click outside the window to my file manager (Total Commander), the UGUI window does not disappear to the background but starts breaking up. If I click outside the UGUI window and Firefox is behind it, UGUI window does not break up. Strange?? Maybe this isn't a bug and a problem with my graphics card??

TheJaredWilcurt commented 9 years ago

I don't understand what you had happen.

I tested it but the programs behaved normally. If you can give me steps to reproduce it, I'll look into fixing it.

tyeeman commented 9 years ago

Here it is. Doesn't happen every time I click background application, just randomly. As I move my cursor around, the underlying app shows up (total commander top icons).

http://imgur.com/8lYCbSn

TheJaredWilcurt commented 9 years ago

You should test it out with just NW.js. I'm guessing this is either something specifically with your machine, or with nw.js itself. I tried it some more and couldn't get anything to occur. If it happens with just NW.js (not using UGUI), then you can report it on the NW.js github page, as there's nothing I'd be able to do to fix it.