Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-Game: Add new function debug_text_separator() for creating Imgui TextSeparator gadgets on debug views #4998

Closed
blaiddx64 opened this issue Mar 13, 2024 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation are required by this issue feature request New feature (or a request for one)
Milestone

Comments

@blaiddx64
Copy link

Is your feature request related to a problem?

imgui have the text separator feature that helps to organize things, it would be really useful on debug views.

Example:
image

Describe the solution you'd like

add TextSeparator function:

dbg_text_separator("General"); // this
dbg_checkbox(ref_create(self, "test1"), "test1");
dbg_checkbox(ref_create(self, "test2"), "test2");

dbg_text_separator("Widgets"); // this
dbg_checkbox(ref_create(self, "test3"), "test3");
dbg_checkbox(ref_create(self, "test4"), "test4");

Describe alternatives you've considered

No response

Additional context

No response

@blaiddx64 blaiddx64 added the feature request New feature (or a request for one) label Mar 13, 2024
@rwkay
Copy link

rwkay commented Apr 17, 2024

Added feature in 2024.6

new function dbg_text_separator(dbgRefOrString) added

Creates a text separator entry (from a variable) within the current debug section, this text can be multiline and is not split into 2 columns but shown in a single column. NOTE: if no section is declared a "Default" section will be created.

@rwkay rwkay closed this as completed Apr 17, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo added this to the 2024.6 milestone Apr 19, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo added the documentation Improvements or additions to documentation are required by this issue label Apr 19, 2024
YYBartT added a commit to YoYoGames/GameMaker-Manual that referenced this issue May 1, 2024
YoYoGames/GameMaker-Bugs#4998

* Added function page and code example
* Added "note" snippet about single-column controls that can't be shown together on a line, added this to function page
@YYBartT
Copy link

YYBartT commented May 1, 2024

Added new function reference page for dbg_text_separator.

gurpreetsinghmatharoo added a commit to YoYoGames/GameMaker-Manual that referenced this issue May 9, 2024
* develop.bart:
  docs(feature): added documentation for physics_raycast YoYoGames/GameMaker-Bugs#2762
  docs(feature): documented gamepad_enumerate YoYoGames/GameMaker-Bugs#5329
  docs(feature): skeleton_animation_clear optional parameters YoYoGames/GameMaker-Bugs#1570
  docs(feature): documented dbg_view_exists and dbg_section_exists YoYoGames/GameMaker-Bugs#4931
  docs(feature): documented dbg_view_exists and dbg_section_exists YoYoGames/GameMaker-Bugs#4931
  docs(feature): YoYoGames/GameMaker-Bugs#1570
  docs(general): mentioned that any attached files are uploaded privately
  docs(feature): smaller custom format screenshot YoYoGames/GameMaker-Bugs#5495
  docs(feature): documented the new dbg_text_separator function YoYoGames/GameMaker-Bugs#4998
  docs(feature): Switch to the docking branch of imgui YoYoGames/GameMaker-Bugs#4905
  docs(general): document OS and audio device limitations when using audio YoYoGames/GameMaker-Bugs#5580
  docs(feature): Add an option to specify "step" in the ImGUI slider control YoYoGames/GameMaker-Bugs#2971

# Conflicts:
#	Manual/contents/GameMaker_Language/GML_Reference/Asset_Management/Audio/audio_sound_length.htm
#	Manual/contents/GameMaker_Language/GML_Reference/Debugging/dbg_slider.htm
#	Manual/contents/GameMaker_Language/GML_Reference/Debugging/dbg_slider_int.htm
@YYDan YYDan changed the title Feature: Add imgui TextSeparator option on debug views In-Game: Add new function debug_text_separator() for creating Imgui TextSeparator gadgets on debug views May 17, 2024
@mgeddesGM
Copy link

verified as of IDE v9.9.1.672 Runtime v9.9.1.814

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation are required by this issue feature request New feature (or a request for one)
Projects
Status: Verified
Development

No branches or pull requests

5 participants