16dae3ea06
tl;dr : making Fluid maintainable, no changes in code execution and logic. This is a pretty extensive restructuring of the Fluid source tree. It was neccessary because source and header files were getting much too big to handle. Many source files had no header, and many headers declared functions that were in diffrent source files. Reorganized much of the include statements. Added comments to some of the files. Added Doxygen configuration file for standalone Fluid docs. Tested everything by rebuilding Fluid .fl designs with the resorted version of Fluid.
33 lines
793 B
C++
33 lines
793 B
C++
//
|
|
// Shortcut header file for the Fast Light Tool Kit (FLTK).
|
|
//
|
|
// Copyright 1998-2010 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
|
|
//
|
|
|
|
#ifndef _FLUID_SHORTCUT_BUTTON_H
|
|
#define _FLUID_SHORTCUT_BUTTON_H
|
|
|
|
#include <FL/Fl_Button.H>
|
|
|
|
class Shortcut_Button : public Fl_Button {
|
|
public:
|
|
int svalue;
|
|
int handle(int);
|
|
void draw();
|
|
Shortcut_Button(int X,int Y,int W,int H, const char* l = 0) :
|
|
Fl_Button(X,Y,W,H,l) {svalue = 0;}
|
|
};
|
|
|
|
#endif
|
|
|