// Copyright (C) 2006 Erik Dahlberg
//
-// This file is part of LSystem3d.
+// This file is part of LSystem3D.
//
// LSystem3D is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
enum
{
ID_GENERATE = FXMainWindow::ID_LAST,
+ ID_HELP,
ID_LAST
};
void create();
/**
- * Called by the system when the "generate"-button is pressed
+ * Called by the system when the "Generate" button is pressed
* @param sender the sender object
* @param selector message type and id
* @param data event related data
*/
long onGenerateButtonPressed(FXObject *sender, FXSelector selector, void *data);
+ /**
+ * Called by the system when the "Help" button is pressed
+ * @param sender the sender object
+ * @param selector message type and id
+ * @param data event related data
+ * @return
+ */
+ long onHelpButtonPressed(FXObject *sender, FXSelector selector, void *data);
+
protected:
/**
FXTextField *_axiomTextField; // Axiom
FXText *_rulesText; // Rules
FXRealSpinner *_angleRealSpinner; // Angle
- FXSpinner *_iterationsSpinner; // Iterations
+ FXSpinner *_depthSpinner; // Depth
FXRealSpinner *_diameterRealSpinner; // Diameter
- FXRealSpinner *_diameterFactorRealSpinner; // Diameter factor //TODO: "diameter factor"?
+ FXRealSpinner *_diameterFactorRealSpinner; // Diameter factor
+
+ FXMessageBox *_helpMessageBox; // Help dialog
LindenmayerSystem *_lsystem; // The Lindenmayer-system