Class: ImGuiTextBuffer

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/imgui.rb

Instance Method Summary collapse

Instance Method Details

#append(str, str_end = nil) ⇒ Object



2774
2775
2776
# File 'lib/imgui.rb', line 2774

def append(str, str_end = nil)
  ImGui::ImGuiTextBuffer_append(self, str, str_end)
end

#appendf(fmt, *varargs) ⇒ Object



2778
2779
2780
# File 'lib/imgui.rb', line 2778

def appendf(fmt, *varargs)
  ImGui::ImGuiTextBuffer_appendf(self, fmt, *varargs)
end

#beginObject



2742
2743
2744
# File 'lib/imgui.rb', line 2742

def begin()
  ImGui::ImGuiTextBuffer_begin(self)
end

#c_strObject



2770
2771
2772
# File 'lib/imgui.rb', line 2770

def c_str()
  ImGui::ImGuiTextBuffer_c_str(self)
end

#clearObject



2758
2759
2760
# File 'lib/imgui.rb', line 2758

def clear()
  ImGui::ImGuiTextBuffer_clear(self)
end

#emptyObject



2754
2755
2756
# File 'lib/imgui.rb', line 2754

def empty()
  ImGui::ImGuiTextBuffer_empty(self)
end

#endObject



2746
2747
2748
# File 'lib/imgui.rb', line 2746

def end()
  ImGui::ImGuiTextBuffer_end(self)
end

#reserve(capacity) ⇒ Object



2766
2767
2768
# File 'lib/imgui.rb', line 2766

def reserve(capacity)
  ImGui::ImGuiTextBuffer_reserve(self, capacity)
end

#resize(size) ⇒ Object



2762
2763
2764
# File 'lib/imgui.rb', line 2762

def resize(size)
  ImGui::ImGuiTextBuffer_resize(self, size)
end

#sizeObject



2750
2751
2752
# File 'lib/imgui.rb', line 2750

def size()
  ImGui::ImGuiTextBuffer_size(self)
end