|
Blender V5.3
|
#include <interface_label_markdown.hh>
Public Types | |
| enum class | CodeContext { None , CodeSpan , CodeBlock } |
Public Attributes | |
| float | x = 0.0f |
| float | y = 0.0f |
| float | size_px = 0.0f |
| int | fontid = 0 |
| int | weight = 400 |
| bool | italic = false |
| bool | is_in_quote = false |
| CodeContext | code_context = CodeContext::None |
| StringRef | text |
| std::optional< StringRef > | url |
After resolving a markdown label this represents a text span on a single line with a specific format.
Definition at line 30 of file interface_label_markdown.hh.
|
strong |
| Enumerator | |
|---|---|
| None | |
| CodeSpan | |
| CodeBlock | |
Definition at line 31 of file interface_label_markdown.hh.
| CodeContext blender::ui::MarkdownItemText::code_context = CodeContext::None |
Definition at line 47 of file interface_label_markdown.hh.
Referenced by blender::ui::MarkdownLayouter::output_wrapped_text(), and blender::ui::MarkdownLayouter::track_code_text_bounds().
| int blender::ui::MarkdownItemText::fontid = 0 |
Definition at line 43 of file interface_label_markdown.hh.
Referenced by blender::ui::MarkdownLayouter::append_pending_list_marker(), blender::ui::create_link_buttons_for_label(), blender::ui::markdown_apply_item_font(), blender::ui::markdown_disable_item_font(), blender::ui::MarkdownLayouter::output_wrapped_text(), blender::ui::MarkdownLayouter::track_code_text_bounds(), and blender::ui::MarkdownLayouter::track_quote_text_bounds().
| bool blender::ui::MarkdownItemText::is_in_quote = false |
Definition at line 46 of file interface_label_markdown.hh.
Referenced by blender::ui::MarkdownLayouter::append_pending_list_marker(), and blender::ui::MarkdownLayouter::output_wrapped_text().
| bool blender::ui::MarkdownItemText::italic = false |
Definition at line 45 of file interface_label_markdown.hh.
Referenced by blender::ui::MarkdownLayouter::append_pending_list_marker(), blender::ui::markdown_apply_item_font(), and blender::ui::MarkdownLayouter::output_wrapped_text().
| float blender::ui::MarkdownItemText::size_px = 0.0f |
Definition at line 42 of file interface_label_markdown.hh.
Referenced by blender::ui::MarkdownLayouter::append_pending_list_marker(), blender::ui::markdown_apply_item_font(), and blender::ui::MarkdownLayouter::output_wrapped_text().
| StringRef blender::ui::MarkdownItemText::text |
| std::optional<StringRef> blender::ui::MarkdownItemText::url |
Definition at line 49 of file interface_label_markdown.hh.
Referenced by blender::ui::create_link_buttons_for_label(), and blender::ui::MarkdownLayouter::output_wrapped_text().
| int blender::ui::MarkdownItemText::weight = 400 |
Definition at line 44 of file interface_label_markdown.hh.
Referenced by blender::ui::MarkdownLayouter::append_pending_list_marker(), blender::ui::markdown_apply_item_font(), and blender::ui::MarkdownLayouter::output_wrapped_text().
| float blender::ui::MarkdownItemText::x = 0.0f |
Baseline position of the text in pixels.
Definition at line 40 of file interface_label_markdown.hh.
Referenced by blender::ui::MarkdownLayouter::append_pending_list_marker(), blender::ui::create_link_buttons_for_label(), blender::ui::MarkdownLayouter::output_wrapped_text(), and blender::ui::MarkdownLayouter::track_code_text_bounds().
| float blender::ui::MarkdownItemText::y = 0.0f |
Definition at line 41 of file interface_label_markdown.hh.
Referenced by blender::ui::MarkdownLayouter::append_pending_list_marker(), blender::ui::create_link_buttons_for_label(), blender::ui::MarkdownLayouter::output_wrapped_text(), blender::ui::MarkdownLayouter::track_code_text_bounds(), and blender::ui::MarkdownLayouter::track_quote_text_bounds().