MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / transparentTextWrapped

Function transparentTextWrapped

source/MRViewer/MRUIStyle.cpp:2060–2070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2058}
2059
2060void transparentTextWrapped( const char* fmt, ... )
2061{
2062 auto transparentColor = ImGui::GetStyleColorVec4( ImGuiCol_Text );
2063 transparentColor.w *= 0.5f;
2064 ImGui::PushStyleColor( ImGuiCol_Text, transparentColor );
2065 va_list args;
2066 va_start( args, fmt );
2067 ImGui::TextWrappedV( fmt, args );
2068 va_end( args );
2069 ImGui::PopStyleColor();
2070}
2071
2072void notificationFrame( NotificationType type, const std::string& str )
2073{

Callers 5

notificationFrameFunction · 0.85
drawNotification_Method · 0.85
drawRenderOptions_Method · 0.85
drawDialogMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected