21 if (
n == 0 ||
n == 1) {
28 for (
int i = 2;
i <
n;
i++) {
67#if defined(BI_MSG_LANGUAGE) && BI_MSG_LANGUAGE == 0x0411
96 delta =
static_cast<int>(Fibonacci(
step));
Typically used to obtain information from a user, a dialog box is a window inside of which other cont...
void SetupWindow() override
Overrides the virtual function defined in TWindow.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TPoint is a support class, derived from tagPOINT.
TRect is a mathematical class derived from tagRect.
int Height() const
Returns the height of this rectangle (bottom - top).
void Expand()
Event handler for the system menu option "expand".
void SetupWindow() override
Adds the shrink system menu option, if desired.
bool IsFullSize
track if the dialog is currently full size
void Shrink()
Event handler for the system menu option "shrink".
void EvSysCommand(uint, const TPoint &)
Event handler for the system menu choice.
TRollDialog(TWindow *parent, TResId resId, bool animated=true, bool fullSize=true, TModule *module=0)
Sets up data members for the various properties of the dialog.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
TRect GetWindowRect() const
Gets the screen coordinates of the window's rectangle.
bool MoveWindow(int x, int y, int w, int h, bool repaint=false)
Repositions the specified window.
uint32 GetStyle() const
Gets the style bits of the underlying window or the 'Style' member of the attribute structure associa...
TRect GetClientRect() const
Gets the coordinates of the window's client area (the area in a window you can use for drawing).
void EvSysCommand(uint cmdType, const TPoint &point)
Responds to a user-selected command from the System menu or when the user selects the maximize or min...
#define DEFINE_RESPONSE_TABLE1(cls, base)
Macro to define a response table for a class with one base.
Object Windows Library (OWLNext Core)