Class: Fzeet::ClientDC
- Includes:
- DCMethods
- Defined in:
- lib/fzeet/windows/core/Common.rb
Instance Attribute Summary collapse
-
#window ⇒ Object
readonly
Returns the value of attribute window.
Instance Method Summary collapse
- #dispose ⇒ Object
-
#initialize(window) ⇒ ClientDC
constructor
A new instance of ClientDC.
Methods included from DCMethods
#background, #background=, #color, #color=, #fillRect, #line, #move, #select, #sms, #text, #textExtent
Constructor Details
Instance Attribute Details
#window ⇒ Object (readonly)
Returns the value of attribute window.
310 311 312 |
# File 'lib/fzeet/windows/core/Common.rb', line 310 def window @window end |
Instance Method Details
#dispose ⇒ Object
312 |
# File 'lib/fzeet/windows/core/Common.rb', line 312 def dispose; Windows.ReleaseDC(@window.handle, @handle); detach end |