Class: Fzeet::ClientDC
- Includes:
- DCMethods
- Defined in:
- lib/fzeet/Common.rb
Instance Attribute Summary collapse
-
#window ⇒ Object
readonly
Returns the value of attribute window.
Attributes inherited from Handle
Instance Method Summary collapse
- #dispose ⇒ Object
-
#initialize(window) ⇒ ClientDC
constructor
A new instance of ClientDC.
Methods included from DCMethods
#color, #color=, #fillRect, #line, #move, #select, #sms, #text
Methods inherited from Handle
#attach, #detach, #dup, instance, instance?, wrap
Constructor Details
Instance Attribute Details
#window ⇒ Object (readonly)
Returns the value of attribute window.
327 328 329 |
# File 'lib/fzeet/Common.rb', line 327 def window @window end |
Instance Method Details
#dispose ⇒ Object
329 |
# File 'lib/fzeet/Common.rb', line 329 def dispose; Windows.ReleaseDC(@window.handle, @handle); detach end |