Added Gemini 2.5 Pro Experimental support.

Minor changes in UIScrollView (now updates click step by default).
Minor optimization in SyntaxTokenizer.
Fix UIImage wrap_content and autosize.
Do not crash if no display is available.
This commit is contained in:
Martín Lucas Golini
2025-03-26 00:14:56 -03:00
parent d0d4231df9
commit 030b8dd9e6
10 changed files with 75 additions and 32 deletions

View File

@@ -37,6 +37,8 @@ class EE_API UIScrollView : public UITouchDraggableWidget {
UIWidget* getContainer() const;
Node* getScrollView() const;
virtual bool applyProperty( const StyleSheetProperty& attribute );
virtual std::string getPropertyString( const PropertyDefinition* propertyDef,
@@ -44,6 +46,10 @@ class EE_API UIScrollView : public UITouchDraggableWidget {
virtual std::vector<PropertyId> getPropertiesImplemented() const;
bool isAutoSetClipStep() const;
void setAutoSetClipStep( bool setClipStep );
protected:
ScrollViewType mViewType;
ScrollBarMode mVScrollMode;
@@ -54,6 +60,7 @@ class EE_API UIScrollView : public UITouchDraggableWidget {
Node* mScrollView;
Uint32 mSizeChangeCb;
Uint32 mPosChangeCb;
bool mAutoSetClipStep{ true };
virtual Uint32 onMessage( const NodeMessage* Msg );