Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/es-collection/scriptui_boilerplate
https://github.com/es-collection/scriptui_boilerplate
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/es-collection/scriptui_boilerplate
- Owner: ES-Collection
- Created: 2018-04-05T00:55:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2015-02-19T05:15:36.000Z (almost 10 years ago)
- Last Synced: 2023-03-25T14:08:04.997Z (almost 2 years ago)
- Language: JavaScript
- Size: 234 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scriptui boilerplate
## usage
~~~
#include '/PATH/TO/ui/index.jsx'
var ui = new UI('dialog', {title: "optional"});
var win = ui.win;ui.add_text(win, {text: "hello", name:"poo"});
win.show();
~~~see `ui/example.jsx` for more.
## available instance methods
- add_group
- add_panel
- add_input
- add_text
- add_listbox
- add_dropdownlist
- add_checkbox
- add_radiobutton
- add_slider
- add_scrollbar
- add_buttonoptional methods with 'ui/ui-progressbar/index.jsx'
- add_progressbar
see `ui/ui-progress/example.jsx` and `ui/ui-progress/example-simple-progressbar.jsx` for example.
---
optional methods with 'ui/ui-graphics/index.jsx'
- def_bgcolor
- def_fgcolor
- def_fontsee `ui/ui-graphics/example.jsx` for example.
## test
~~~
$ npm install
$ npm test
~~~