mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Implement UICodeEditor::isScrollable so it can have a parent scrollable element.
This commit is contained in:
@@ -683,9 +683,11 @@ class EE_API UICodeEditor : public UIWidget, public TextDocument::Client {
|
||||
|
||||
Sizef getMaxScroll() const;
|
||||
|
||||
void setScrollX( const Float& val, bool emmitEvent = true );
|
||||
virtual bool isScrollable() const;
|
||||
|
||||
void setScrollY( const Float& val, bool emmitEvent = true );
|
||||
bool setScrollX( const Float& val, bool emmitEvent = true );
|
||||
|
||||
bool setScrollY( const Float& val, bool emmitEvent = true );
|
||||
|
||||
Vector2f getScreenStart() const;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ class EE_API UIMenu : public UIWidget {
|
||||
public:
|
||||
static UIMenu* New();
|
||||
|
||||
static void findBestMenuPos( Vector2f& position, UIMenu* menu, UIMenu* parent = NULL,
|
||||
static void findBestMenuPos( Vector2f& position, UIWidget* menu, UIMenu* parent = NULL,
|
||||
UIMenuSubMenu* subMenu = NULL );
|
||||
|
||||
UIMenu();
|
||||
|
||||
Reference in New Issue
Block a user