ImGui
ImGuiWindow.SameLine
window에 SameLine layout marker를 추가합니다. rendering 중 Real은 element list의 해당 위치에서 a same-line layout marker을 호출하여 다음에 렌더링되는 item이 같은 행에서 이어질 수 있게 합니다.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
window에 SameLine layout marker를 추가합니다. rendering 중 Real은 element list의 해당 위치에서 a same-line layout marker을 호출하여 다음에 렌더링되는 item이 같은 행에서 이어질 수 있게 합니다.
ImGuiWindow.SameLine(window: ImGuiWindow): ImGuiWindow
| Name | Type | Required | 설명 |
|---|---|---|---|
Button | (label: string, onClick: () -> ()) -> ImGuiWindow | Yes | 버튼을 추가하고 클릭 후 콜백을 호출합니다. |
Checkbox | (label: string, checked: any, onChange: (boolean) -> ()) -> ImGuiWindow | Yes | 제공된 상태에 초기화된 체크박스를 추가합니다. |
CollapsingHeader | (label: string, content: (ImGuiWindow) -> ()) -> ImGuiWindow | Yes | 접는 헤더 아래에 콘텐츠 콜백이 추가된 그룹 컨트롤입니다. |
ColorPicker | (label: string, red: number?, green: number?, blue: number?, alpha: number?, onChange: (number, number, number, number) -> ()) -> ImGuiWindow | Yes | RGBA 편집기를 추가합니다. 생략된 색상 구성 요소의 기본값은 1.0입니다. |
InputText | (label: string, text: string?, onChange: (string) -> ()) -> ImGuiWindow | Yes | 한 줄 텍스트 입력을 추가합니다. 생략된 초기 텍스트의 기본값은 빈 문자열입니다. |
SameLine | () -> ImGuiWindow | Yes | 같은 줄에 다음 컨트롤을 배치합니다. |
Separator | () -> ImGuiWindow | Yes | 가로 구분 기호를 추가합니다. |
SliderFloat | (label: string, value: number, minimum: number, maximum: number, onChange: (number) -> ()) -> ImGuiWindow | Yes | 부동 소수점 슬라이더를 추가합니다. |
SliderInt | (label: string, value: integer, minimum: integer, maximum: integer, onChange: (number) -> ()) -> ImGuiWindow | Yes | 정수 슬라이더를 추가합니다. |
Text | (text: string) -> ImGuiWindow | Yes | 비대화형 텍스트를 추가합니다. |
destroy | () -> () | Yes | 창을 제거하고 등록된 콜백을 해제합니다. |