Class: ImGuiTextFilter
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImGuiTextFilter
- Defined in:
- lib/imgui.rb
Class Method Summary collapse
Instance Method Summary collapse
- #Build ⇒ Object
- #Clear ⇒ Object
- #destroy ⇒ Object
- #Draw(label = "Filter(inc,-exc)", width = 0.0) ⇒ Object
- #IsActive ⇒ Object
- #PassFilter(text, text_end = nil) ⇒ Object
Class Method Details
.create(default_filter = "") ⇒ Object
1620 1621 1622 |
# File 'lib/imgui.rb', line 1620 def self.create(default_filter = "") return ImGuiTextFilter.new(ImGui::ImGuiTextFilter_ImGuiTextFilter(default_filter)) end |
Instance Method Details
#Build ⇒ Object
1608 1609 1610 |
# File 'lib/imgui.rb', line 1608 def Build() ImGui::ImGuiTextFilter_Build(self) end |
#Clear ⇒ Object
1612 1613 1614 |
# File 'lib/imgui.rb', line 1612 def Clear() ImGui::ImGuiTextFilter_Clear(self) end |
#destroy ⇒ Object
1632 1633 1634 |
# File 'lib/imgui.rb', line 1632 def destroy() ImGui::ImGuiTextFilter_destroy(self) end |
#Draw(label = "Filter(inc,-exc)", width = 0.0) ⇒ Object
1616 1617 1618 |
# File 'lib/imgui.rb', line 1616 def Draw(label = "Filter(inc,-exc)", width = 0.0) ImGui::ImGuiTextFilter_Draw(self, label, width) end |
#IsActive ⇒ Object
1624 1625 1626 |
# File 'lib/imgui.rb', line 1624 def IsActive() ImGui::ImGuiTextFilter_IsActive(self) end |
#PassFilter(text, text_end = nil) ⇒ Object
1628 1629 1630 |
# File 'lib/imgui.rb', line 1628 def PassFilter(text, text_end = nil) ImGui::ImGuiTextFilter_PassFilter(self, text, text_end) end |