summaryrefslogtreecommitdiff
path: root/fluid/code.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-04-17 17:51:32 +0200
committerGitHub <noreply@github.com>2024-04-17 17:51:32 +0200
commitfd791a068e39e06785adc44693f4c533d3d6c903 (patch)
treeef7ff684b38f646165e80c142e454cd7ef077e2e /fluid/code.h
parentb4cf1a9824f2c4ba9596044962d3af36e3ca3d99 (diff)
Separate FLUID user documentation, screen shot automation (#936)
* CMake integration, no autotiools * alignment panel is now correctly renamed to setting panel * source view is now correctly renamed to code view * Merge FLTK FLUID docs into FLUID user manual. * Add two simple entry tutorials * Remove FLUID chapter form FLTK docs. * GitHub action to generate HTML and PDF docs and make the available as artefacts
Diffstat (limited to 'fluid/code.h')
-rw-r--r--fluid/code.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/code.h b/fluid/code.h
index bac7bc756..8581c90f8 100644
--- a/fluid/code.h
+++ b/fluid/code.h
@@ -68,7 +68,7 @@ public:
int indentation;
/// set if we write abbreviated file for the source code previewer
/// (disables binary data blocks, for example)
- bool write_sourceview;
+ bool write_codeview;
/// silly thing to prevent declaring unused variables:
/// When this symbol is on, all attempts to write code don't write
/// anything, but set a variable if it looks like the variable "o" is used:
@@ -100,7 +100,7 @@ public:
void write_hc(const char *, int, const char*, const char*);
void write_c_indented(const char *textlines, int inIndent, char inTrailwWith);
Fl_Type* write_code(Fl_Type* p);
- int write_code(const char *cfile, const char *hfile, bool to_sourceview=false);
+ int write_code(const char *cfile, const char *hfile, bool to_codeview=false);
void write_public(int state); // writes pubic:/private: as needed
void tag(int type, unsigned short uid);