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



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

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

#appendf(fmt, *varargs) ⇒ Object



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

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

#beginObject



2726
2727
2728
# File 'lib/imgui.rb', line 2726

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

#c_strObject



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

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

#clearObject



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

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

#emptyObject



2738
2739
2740
# File 'lib/imgui.rb', line 2738

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

#endObject



2730
2731
2732
# File 'lib/imgui.rb', line 2730

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

#reserve(capacity) ⇒ Object



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

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

#resize(size) ⇒ Object



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

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

#sizeObject



2734
2735
2736
# File 'lib/imgui.rb', line 2734

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