From 89aa5726f8d772e0fec1ebcbdfa3b74aa7a217f8 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 5 Jan 2026 12:54:12 +0100 Subject: Fluid: Improve std::string output Fluid: Update Widget_Node to std::string Fluid: Image names to std::string Fluid: std::string tooltip Fluid: stringify Widget_Node::subtype Fluid:: extra_code --- fluid/io/Project_Writer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fluid/io/Project_Writer.h') diff --git a/fluid/io/Project_Writer.h b/fluid/io/Project_Writer.h index 4b21cf2fb..c95c9f7cb 100644 --- a/fluid/io/Project_Writer.h +++ b/fluid/io/Project_Writer.h @@ -21,6 +21,8 @@ #include +#include + class Node; namespace fld { @@ -52,6 +54,7 @@ public: int write_project(const char *filename, int selected_only, bool codeview); void NewFunction(); void write_word(const char *); + void write_word(const std::string& word) { write_word(word.c_str()); } void write_string(const char *,...) __fl_attr((__format__ (__printf__, 2, 3))); void write_indent(int n); void write_open(); -- cgit v1.2.3