summaryrefslogtreecommitdiff
path: root/fluid/Fd_Snap_Action.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-07 00:48:18 +0100
committerMatthias Melcher <github@matthiasm.com>2025-03-07 00:48:18 +0100
commit9cfd932d3a0d8d8fba61e0ffb91614b8fdcbafea (patch)
tree3581cf1c2cba5ada829a9ebdaf58c80302281c7a /fluid/Fd_Snap_Action.h
parent3068c7a0af0afbad572f88e074235853fd8be34c (diff)
Replce Fl_String in Fluid with std::string.
Also fix for Linux.
Diffstat (limited to 'fluid/Fd_Snap_Action.h')
-rw-r--r--fluid/Fd_Snap_Action.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/Fd_Snap_Action.h b/fluid/Fd_Snap_Action.h
index 5b3731087..bfb32624c 100644
--- a/fluid/Fd_Snap_Action.h
+++ b/fluid/Fd_Snap_Action.h
@@ -119,7 +119,7 @@ public:
bool list_is_static_;
int current_suite_;
int current_preset_;
- Fl_String filename_;
+ std::string filename_;
public:
Fd_Layout_List();
~Fd_Layout_List();
@@ -127,7 +127,7 @@ public:
void update_menu_labels();
int current_suite() const { return current_suite_; }
void current_suite(int ix);
- void current_suite(Fl_String);
+ void current_suite(std::string);
int current_preset() const { return current_preset_; }
void current_preset(int ix);
Fd_Layout_Suite &operator[](int ix) { return list_[ix]; }
@@ -135,8 +135,8 @@ public:
void rename(const char *name);
void capacity(int);
- int load(const Fl_String &filename);
- int save(const Fl_String &filename);
+ int load(const std::string &filename);
+ int save(const std::string &filename);
void write(Fl_Preferences &prefs, Fd_Tool_Store storage);
void read(Fl_Preferences &prefs, Fd_Tool_Store storage);
void write(Fd_Project_Writer*);