You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to the user selecting color and icon per filter, this patch
allows the user to specify an ImFont, as well.
This is a backwards compatible API change, exitsing code works the same
way with no changes.
voidSetExtentionInfos(const std::string& vFilter, const FileExtentionInfos& vInfos); // link filter to ExtentionInfos
734
-
voidSetExtentionInfos(const std::string& vFilter, const ImVec4& vColor, const std::string& vIcon); // link filter to Color and Icon
735
-
boolGetExtentionInfos(const std::string& vFilter, ImVec4* vOutColor, std::string* vOutIcon); // get Color and Icon for Filter
735
+
voidSetExtentionInfos(const std::string& vFilter, const ImVec4& vColor, const std::string& vIcon, ImFont* vFont);// link filter to Color and Icon and Font
736
+
boolGetExtentionInfos(const std::string& vFilter, ImVec4* vOutColor, std::string* vOutIcon, ImFont **vOutFont); // get Color and Icon for Filter
0 commit comments