- var x = e.clientX / X.Dom.baseFontSize,
- y = e.clientY / X.Dom.baseFontSize,
+ var font = X.ViewPort.getBaseFontSize(),
+ x = e.clientX / font,
+ y = e.clientY / font,
type = X.UI.Event.NameToID[ e.type ],
i = 0,
data = X.UI.currentRootData,
type = X.UI.Event.NameToID[ e.type ],
i = 0,
data = X.UI.currentRootData,
'class' : 'mouse-operation-catcher',
unselectable : 'on'
} );
// hover や rollover rollout のための move イベントの追加
'class' : 'mouse-operation-catcher',
unselectable : 'on'
} );
// hover や rollover rollout のための move イベントの追加
// mouseout, mouseover
//if( X_UA_HID.POINTER ){
this.xnodeInteractiveLayer.listen( X.UI.Event.IdToName[ X.UI.Event._POINTER_MOVE ], X.UI._eventRellay );
// mouseout, mouseover
//if( X_UA_HID.POINTER ){
this.xnodeInteractiveLayer.listen( X.UI.Event.IdToName[ X.UI.Event._POINTER_MOVE ], X.UI._eventRellay );
- X.Dom
- .listen( X.Dom.Event.VIEW_RESIZED, this, this.calculate )
- .listen( X.Dom.Event.BASE_FONT_RESIZED, this, this.calculate );
+ X.ViewPort
+ .listen( X.Event.VIEW_RESIZED, this, this.calculate )
+ .listen( X.Event.BASE_FONT_RESIZED, this, this.calculate );
- var font = X.Dom.baseFontSize,
- size, w, h;
- if( !e ){
- size = X.Dom.getSize();
- w = size[ 0 ];
+ var size = X.ViewPort.getSize(),
+ font = X.ViewPort.getBaseFontSize(),
+ w = size[ 0 ],
this.layout.calculate( this, false, 0, 0, w / font, h / font );
this.calcReserved = false;
},
this.layout.calculate( this, false, 0, 0, w / font, h / font );
this.calcReserved = false;
},