class Glimmer::LibUI::ControlProxy::OpenTypeFeaturesProxy
Proxy for LibUI
open type features objects
Follows the Proxy Design Pattern
Public Instance Methods
destroy()
click to toggle source
# File lib/glimmer/libui/control_proxy/open_type_features_proxy.rb, line 35 def destroy return if ControlProxy.main_window_proxy&.destroying? return if @destroying @destroying = true deregister_all_custom_listeners ::LibUI.free_open_type_features(@libui) @parent_proxy&.remove_open_type_features ControlProxy.control_proxies.delete(self) @destroying = false end
redraw()
click to toggle source
# File lib/glimmer/libui/control_proxy/open_type_features_proxy.rb, line 46 def redraw @parent_proxy&.redraw end
request_auto_redraw()
click to toggle source
# File lib/glimmer/libui/control_proxy/open_type_features_proxy.rb, line 50 def request_auto_redraw @parent_proxy&.request_auto_redraw end
Private Instance Methods
build_control()
click to toggle source
# File lib/glimmer/libui/control_proxy/open_type_features_proxy.rb, line 56 def build_control @libui = ::LibUI.new_open_type_features end