ecode: Implemented LSP document symbol tree with search, integrated with the breadcrumb.

eepp: Added a new flag to UIWindow to create ephemeral windows (windows that close on focus loss).
This commit is contained in:
Martín Lucas Golini
2024-08-26 01:09:50 -03:00
parent d6fc60a2ce
commit bd96005bf8
7 changed files with 346 additions and 63 deletions

View File

@@ -25,7 +25,8 @@ enum UIWindowFlags {
UI_WIN_MODAL = ( 1 << 8 ),
UI_WIN_SHADOW = ( 1 << 9 ),
UI_WIN_FRAME_BUFFER = ( 1 << 10 ),
UI_WIN_COLOR_BUFFER = ( 1 << 11 )
UI_WIN_COLOR_BUFFER = ( 1 << 11 ),
UI_WIN_EPHEMERAL = ( 1 << 12 ), // Windows is closed when focus is lost
};
static const Uint32 UI_WIN_DEFAULT_FLAGS = UI_WIN_CLOSE_BUTTON |
@@ -242,6 +243,8 @@ class EE_API UIWindow : public UIWidget {
virtual void matrixUnset();
virtual Uint32 onFocusLoss();
void fixChildsSize();
void doResize( const NodeMessage* Msg );
@@ -297,6 +300,8 @@ class EE_API UIWindow : public UIWidget {
void forcedApplyStyle();
void sendWindowToFront();
void checkEphemeralClose();
};
}} // namespace EE::UI