Module: VRResizeSensitive

Includes:
VRMessageHandler
Defined in:
lib/vr/vruby.rb

Constant Summary

Constants included from VRMessageHandler

VRMessageHandler::PREHANDLERSTR

Instance Method Summary collapse

Methods included from VRMessageHandler

#acceptEvents, #addHandler, #addNoRelayMessages, #controlmsg_dispatching, #deleteHandler, #msghandlerinit, #selfmsg_dispatching

Instance Method Details

#resizeableinitObject



809
810
811
812
# File 'lib/vr/vruby.rb', line 809

def resizeableinit
  acceptEvents [ WMsg::WM_SIZE ]
  addHandler(WMsg::WM_SIZE, "resize",MSGTYPE::ARGLINTINT,nil) 
end

#vrinitObject



813
814
815
816
# File 'lib/vr/vruby.rb', line 813

def vrinit
  super
  resizeableinit
end