mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-16 08:04:21 +08:00
We can act on the screen
This commit is contained in:

committed by
ArthurSonzogni

parent
1325256aa9
commit
cb2436f13f
@@ -32,7 +32,6 @@ typedef struct {
|
||||
uint16_t endx = 0;
|
||||
uint16_t starty = 0;
|
||||
uint16_t endy = 0;
|
||||
bool changed = false;
|
||||
} Region;
|
||||
|
||||
class ScreenInteractive : public Screen {
|
||||
@@ -77,6 +76,8 @@ class ScreenInteractive : public Screen {
|
||||
void ForceHandleCtrlC(bool force);
|
||||
void ForceHandleCtrlZ(bool force);
|
||||
|
||||
std::string getSelection(void);
|
||||
|
||||
private:
|
||||
void ExitNow();
|
||||
|
||||
@@ -92,7 +93,7 @@ class ScreenInteractive : public Screen {
|
||||
|
||||
void HandleTask(Component component, Task& task);
|
||||
bool selectableCatchEvent(Event event);
|
||||
std::string getSelection(void);
|
||||
void refreshSelection(void);
|
||||
void Draw(Component component);
|
||||
void ResetCursorPosition();
|
||||
|
||||
|
@@ -116,9 +116,6 @@ Element hyperlink(std::string link, Element child);
|
||||
Element selectable(Element child);
|
||||
Decorator selectable(void);
|
||||
|
||||
// -- Selection --
|
||||
std::string getSelection(void);
|
||||
|
||||
// --- Layout is
|
||||
// Horizontal, Vertical or stacked set of elements.
|
||||
Element hbox(Elements);
|
||||
|
Reference in New Issue
Block a user