random.h revision ccd5d0ad1950ed63ccdf76081ae0cb056f372c9f
/**
* \brief Random Scalar Widget - A labelled text box, with spin buttons and optional
* icon or suffix, for entering arbitrary number values and generating a random number from it.
*
* Authors:
* Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
*
* Copyright (C) 2007 Author
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_UI_WIDGET_RANDOM_H
#define INKSCAPE_UI_WIDGET_RANDOM_H
#include "scalar.h"
{
bool mnemonic = true);
unsigned digits,
bool mnemonic = true);
unsigned digits = 0,
bool mnemonic = true);
long getStartSeed() const;
void setStartSeed(long newseed);
long startseed;
void addReseedButton();
void onReseedButtonClick();
};
} // namespace Widget
} // namespace UI
} // namespace Inkscape
#endif // INKSCAPE_UI_WIDGET_RANDOM_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :