#!ruby # -*- mode: ruby; coding: utf-8 -*- # Last updated: <2016/01/11 21:30:38 +0900> require_relative './lib/dxrubyws' control = WS::WSControl.new(200, 100, 100, 100) control.image = Image.new(100, 100, C_WHITE) WS.desktop.add_control(control) Window.loop do WS.update end