misc...
	* texbro search: SearchFromStart option (match start of texture name)
	* texbro search: entry is activated/deactivated by mouse pointing
	* texbro search: clear button
This commit is contained in:
Garux
2017-08-02 09:26:22 +03:00
parent e3fd576624
commit 969b901abe
3 changed files with 83 additions and 34 deletions

View File

@@ -141,6 +141,10 @@ inline bool string_equal_prefix( const char* string, const char* prefix ){
return string_equal_n( string, prefix, string_length( prefix ) );
}
inline bool string_equal_prefix_nocase( const char* string, const char* prefix ){
return string_equal_nocase_n( string, prefix, string_length( prefix ) );
}
/// \brief Returns true if the ending of \p string is equal to \p suffix.
/// O(n)
inline bool string_equal_suffix( const char* string, const char* suffix){