forked from 0x2620/oxjs
modularize oxui
This commit is contained in:
parent
2e3292e9ce
commit
0024af978c
106 changed files with 16127 additions and 47034 deletions
53
source/js/Ox.Window.js
Normal file
53
source/js/Ox.Window.js
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
Ox.Window = function(options, self) {
|
||||
|
||||
self = self || {},
|
||||
that = new Ox.Element('div', self)
|
||||
.defaults({
|
||||
draggable: true,
|
||||
fullscreenable: true, // fixme: silly name
|
||||
height: 225,
|
||||
resizeable: true,
|
||||
scaleable: true,
|
||||
width: 400
|
||||
})
|
||||
.options(options || {})
|
||||
|
||||
self.center = function() {
|
||||
|
||||
};
|
||||
|
||||
self.drag = function() {
|
||||
|
||||
};
|
||||
|
||||
self.fullscreen = function() {
|
||||
|
||||
};
|
||||
|
||||
self.onChange = function() {
|
||||
|
||||
};
|
||||
|
||||
self.reset = function() {
|
||||
|
||||
};
|
||||
|
||||
self.resize = function() {
|
||||
|
||||
};
|
||||
|
||||
self.scale = function() {
|
||||
|
||||
};
|
||||
|
||||
that.close = function() {
|
||||
|
||||
};
|
||||
|
||||
that.open = function() {
|
||||
|
||||
};
|
||||
|
||||
return that;
|
||||
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue