// vim: et:ts=4:sw=4:sts=4:ft=js /*@ Ox.Window Window object () -> Window object (options) -> Window object (options, self) -> Window object options Options object draggable is window draggable fullscreenable fixme: silly name height height resizeable resizeable scaleable sccaleable width width self Shared private variable @*/ Ox.Window = function(options, self) { self = self || {}; var that = Ox.Element({}, 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.setOption = function() { }; self.reset = function() { }; self.resize = function() { }; self.scale = function() { }; that.close = function() { }; that.open = function() { }; return that; };