/*
* pettanR system.js
- * version 0.4.18
+ * version 0.4.19
*
* author:
* itozyun
function draw( _w, _h ){
w = Type.isFinite( _w ) === true ? _w : w;
h = Type.isFinite( _h ) === true ? _h : h;
- bodyH = _h - headH;
+ bodyH = h - headH;
var l = tree.hierarchy() +1,
m = BREAD_ARRAY.length,
_file, _bread;
} else {
elmBody.className = 'finder-body';
}
- elmBody.style.height = bodyH + 'px';
+ try {
+ elmBody.style.height = bodyH + 'px';
+ } catch(e){
+ alert( bodyH)
+ }
+
while( l < ICON_ARRAY.length){
ICON_ARRAY.pop().destroy();
function onAction( _file ){
}
+ this.rootElement = elmContainer;
+ this.parentElement = ELM_CONTAINER;
+ this.displayName = 'finder';
this.ID = 'finder';
+ this.MIN_WIDTH = 240;
+ this.MIN_HEIGHT = 240;
this.init = function(){
- ELM_CONTAINER.appendChild( elmContainer);
//$( elmLocation).click( onHeadClick);
//$( elmContainer).click( onBodyClick);
var position = pettanr.util.getAbsolutePosition( elmLocation);
ICON_ARRAY[ i].onResize( _w );
}
}
- this.MIN_WIDTH = 240;
- this.MIN_HEIGHT = 240;
}
-
- pettanr.view.registerAsBasicPane( FinderClass );
+ FinderClass.prototype = pettanr.view._getAbstractApplication();
function getFinderIcon( _file, _elmContainer, w, index, style, onDown, onEditor, onViwer, onAction){
var _icon;
// this.rootElement = elmWrap;
this.displayName = 'premiumStage';
this.ID = 'premiumStage';
+ this.rootElement = document.getElementById( 'image-gruop-wrapper' );
this.MIN_WIDTH = 320;
this.MIN_HEIGHT = 320;
this.init = function(){
_g_onUpdateFunction = null;
}
- var _index = ARTIST_ROOT_FILE.search( { id: _artistID } )[ 0 ],
+ var _index = ARTIST_ROOT_FILE.search( {
+ id: _artistID,
+ type: pettanr.driver.FILE_TYPE.ARTIST
+ } )[ 0 ],
_artistFile = ARTIST_ROOT_FILE.getChildFileByIndex( _index ),
i, l = 0;
if( _artistFile !== null ){
// this.rootElement = elmWrap;
this.displayName = 'textEditor';
this.ID = 'textEditor';
+ this.rootElement = document.getElementById( 'speach-editor-wrapper' );
this.MIN_WIDTH = 320;
this.MIN_HEIGHT = 320;
this.init = function(){