initial player stuff
This commit is contained in:
parent
4b60ece582
commit
5100d91a72
38 changed files with 1107 additions and 93 deletions
|
@ -191,9 +191,12 @@
|
|||
}
|
||||
if (needToTell) {
|
||||
this.trigger("changeLimits", this);
|
||||
if (this._w !== undefined && this._h !== undefined) {
|
||||
this.setSize(this._w, this._h);
|
||||
}
|
||||
}
|
||||
|
||||
return needToTell && this._events.changeLimits && this._events.changeLimits.length; //to see if someone actually going to listen that event
|
||||
return needToTell && this._events.changeLimits && this._events.changeLimits.length; //to see if someone actually going to listen that event, if not - return result
|
||||
},
|
||||
"setMaxSize": function(w, h) {
|
||||
this._o.maxWidth = w;
|
||||
|
@ -284,22 +287,27 @@
|
|||
View.ViewType = {
|
||||
Label: 0,
|
||||
|
||||
Image: 3,
|
||||
View: 4,
|
||||
Image: 4,
|
||||
Button: 5,
|
||||
View: 6,
|
||||
|
||||
Page: 102,
|
||||
PanesList: 104
|
||||
PanesList: 104,
|
||||
Player: 107
|
||||
};
|
||||
|
||||
View.ReversedViewType = {
|
||||
"0": "Label",
|
||||
|
||||
"3": "Image",
|
||||
"4": "View",
|
||||
"4": "Image",
|
||||
"5": "Button",
|
||||
"6": "View",
|
||||
|
||||
"101": "Nav",
|
||||
"102": "Page",
|
||||
"104": "PanesList"
|
||||
"104": "PanesList",
|
||||
|
||||
"107": "Player"
|
||||
};
|
||||
|
||||
View.ViewTypesPaths = {
|
||||
|
@ -307,7 +315,9 @@
|
|||
Nav: "views/nav",
|
||||
Page: "views/page",
|
||||
PanesList: "views/panesList",
|
||||
Image: "views/image"
|
||||
Image: "views/image",
|
||||
Button: "views/button",
|
||||
Player: "views/player"
|
||||
};
|
||||
|
||||
View.constructors = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue