mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
Added utf8cpp as a auxiliary helper library.
Added UITooltip::getTooltipPosition. Fixes in System::Process. UICodeEditor: Performance improvements in minimap rendering. ecode: AutoCompleteModule fixes. Added coloring to tooltips from the LSP Client. LSP Client Server parsing improvements.
This commit is contained in:
@@ -325,7 +325,10 @@ class EE_API String {
|
||||
static String fromUtf8( const std::string& utf8String );
|
||||
|
||||
/** @return The number of codepoints of the utf8 string. */
|
||||
static size_t utf8StringLength( const std::string& utf8String );
|
||||
static size_t utf8Length( const std::string& utf8String );
|
||||
|
||||
/** @return The next character in a utf8 null terminated string */
|
||||
static Uint32 utf8Next( char*& utf8String );
|
||||
|
||||
/** @brief Default constructor
|
||||
** This constructor creates an empty string.
|
||||
|
||||
@@ -25,6 +25,8 @@ class EE_API SyntaxDefinitionManager {
|
||||
|
||||
const SyntaxDefinition& getByLanguageName( const std::string& name ) const;
|
||||
|
||||
const SyntaxDefinition& getByLSPName( const std::string& name ) const;
|
||||
|
||||
const SyntaxDefinition& getByLanguageId( const String::HashType& id ) const;
|
||||
|
||||
SyntaxDefinition& getByLanguageNameRef( const std::string& name );
|
||||
|
||||
@@ -16,6 +16,8 @@ class EE_API UITooltip : public UIWidget {
|
||||
public:
|
||||
static UITooltip* New();
|
||||
|
||||
static Vector2f getTooltipPosition( UITooltip* toolip, Vector2f requestedPosition );
|
||||
|
||||
UITooltip();
|
||||
|
||||
virtual ~UITooltip();
|
||||
@@ -107,6 +109,12 @@ class EE_API UITooltip : public UIWidget {
|
||||
|
||||
void setTextTransform( const TextTransform::Value& textTransform );
|
||||
|
||||
Vector2f getTooltipPosition( Vector2f requestedPosition );
|
||||
|
||||
bool getUsingCustomStyling() const;
|
||||
|
||||
void setUsingCustomStyling( bool usingCustomStyling );
|
||||
|
||||
protected:
|
||||
Text* mTextCache;
|
||||
UIFontStyleConfig mStyleConfig;
|
||||
@@ -116,6 +124,7 @@ class EE_API UITooltip : public UIWidget {
|
||||
String mStringBuffer;
|
||||
TextTransform::Value mTextTransform{ TextTransform::None };
|
||||
bool mDontAutoHideOnMouseMove{ false };
|
||||
bool mUsingCustomStyling{ false };
|
||||
|
||||
virtual void onAlphaChange();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user