summaryrefslogtreecommitdiff
path: root/fluid/autodoc.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-07 16:34:35 +0100
committerMatthias Melcher <github@matthiasm.com>2025-03-07 16:34:48 +0100
commit1985aefc0e502048f92b91beef87c0dfbe669fed (patch)
treeaf62874def4590e437a47784b4428d975ceb262f /fluid/autodoc.h
parent42a04c064d4b31c3a85210311f3ada163c406a25 (diff)
Restructuring Fluid source files.
Diffstat (limited to 'fluid/autodoc.h')
-rw-r--r--fluid/autodoc.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/fluid/autodoc.h b/fluid/autodoc.h
deleted file mode 100644
index 51f9739ea..000000000
--- a/fluid/autodoc.h
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Widget snapshot header-only file for the Fast Light Tool Kit (FLTK).
-//
-// Copyright 2023-2024 by Bill Spitzak and others.
-//
-// This library is free software. Distribution and use rights are outlined in
-// the file "COPYING" which should have been included with this file. If this
-// file is missing or damaged, see the license at:
-//
-// https://www.fltk.org/COPYING.php
-//
-// Please see the following page on how to report bugs and issues:
-//
-// https://www.fltk.org/bugs.php
-//
-
-/**
- \file autodoc.h
- \brief tools to take snapshots of UI elements for documentation purposes
- */
-
-#ifndef fl_screenshot_H
-#define fl_screenshot_H
-
-#include <FL/Fl_Export.H>
-#include <FL/Fl_Window.H>
-#include <FL/Fl_Rect.H>
-
-#include <string>
-
-/** Class to initialize a Rect by providing the margin around a rect. */
-class Fl_Margin : public Fl_Rect {
-public:
- Fl_Margin(int dx, int dy, int dr, int db);
-};
-
-int fl_snapshot(const char *filename, Fl_Widget **w,
- const Fl_Rect &frame = Fl_Margin(4, 4, 4, 4),
- const Fl_Rect &blend = Fl_Margin(4, 4, 4, 4),
- double scale=1.0);
-
-int fl_snapshot(const char *filename, Fl_Widget *w1, Fl_Widget *w2,
- const Fl_Rect &frame = Fl_Margin(4, 4, 4, 4),
- const Fl_Rect &blend = Fl_Margin(4, 4, 4, 4),
- double scale=1.0);
-
-int fl_snapshot(const char *filename, Fl_Widget *w,
- const Fl_Rect &frame = Fl_Margin(4, 4, 4, 4),
- const Fl_Rect &blend = Fl_Margin(4, 4, 4, 4),
- double scale=1.0);
-
-extern const int FL_SNAP_TO_WINDOW;
-
-extern Fl_Widget *FL_SNAP_AREA_CLEAR;
-
-extern void run_autodoc(const std::string &target_dir);
-
-#endif
-