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
1615 1616 1617 |
# File 'lib/imgui.rb', line 1615 def self.create(default_filter = "") return ImGuiTextFilter.new(ImGui::ImGuiTextFilter_ImGuiTextFilter(default_filter)) end |
Instance Method Details
#Build ⇒ Object
1603 1604 1605 |
# File 'lib/imgui.rb', line 1603 def Build() ImGui::ImGuiTextFilter_Build(self) end |
#Clear ⇒ Object
1607 1608 1609 |
# File 'lib/imgui.rb', line 1607 def Clear() ImGui::ImGuiTextFilter_Clear(self) end |
#destroy ⇒ Object
1627 1628 1629 |
# File 'lib/imgui.rb', line 1627 def destroy() ImGui::ImGuiTextFilter_destroy(self) end |
#Draw(label = "Filter(inc,-exc)", width = 0.0) ⇒ Object
1611 1612 1613 |
# File 'lib/imgui.rb', line 1611 def Draw(label = "Filter(inc,-exc)", width = 0.0) ImGui::ImGuiTextFilter_Draw(self, label, width) end |
#IsActive ⇒ Object
1619 1620 1621 |
# File 'lib/imgui.rb', line 1619 def IsActive() ImGui::ImGuiTextFilter_IsActive(self) end |
#PassFilter(text, text_end = nil) ⇒ Object
1623 1624 1625 |
# File 'lib/imgui.rb', line 1623 def PassFilter(text, text_end = nil) ImGui::ImGuiTextFilter_PassFilter(self, text, text_end) end |