Files
@ r5157:a56ae3d45452
Branch filter:
Location: cpp/openttd-patchpack/source/resize_window_widgets.h - annotation
r5157:a56ae3d45452
1.1 KiB
text/x-c
(svn r7255) -Comments added for CBlobBaseSimple, CBlobT classes
r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4668:04e452c9b928 r4672:3d31488f1632 r4668:04e452c9b928 r4668:04e452c9b928 | /* $Id$ */
/** @file resize_window_widgets.h */
#ifndef RESIZE_WINDOW_WIDGET_H
#define RESIZE_WINDOW_WIDGET_H
#include "stdafx.h"
#include "window.h"
enum {
WIDGET_DEFINE_MOVE_NONE = 0 << 0,
WIDGET_DEFINE_MOVE_RIGHT = 1 << 0,
WIDGET_DEFINE_MOVE_LEFT = 1 << 1,
WIDGET_DEFINE_MOVE_TOP = 1 << 2,
WIDGET_DEFINE_MOVE_BOTTOM = 1 << 3,
WIDGET_MOVE_NONE = WIDGET_DEFINE_MOVE_NONE,
WIDGET_STRETCH_RIGHT = WIDGET_DEFINE_MOVE_RIGHT,
WIDGET_MOVE_RIGHT = WIDGET_DEFINE_MOVE_RIGHT | WIDGET_DEFINE_MOVE_LEFT,
WIDGET_STRETCH_DOWN = WIDGET_DEFINE_MOVE_BOTTOM,
WIDGET_MOVE_DOWN = WIDGET_DEFINE_MOVE_BOTTOM | WIDGET_DEFINE_MOVE_TOP,
WIDGET_STRETCH_DOWN_RIGHT = WIDGET_STRETCH_DOWN | WIDGET_STRETCH_RIGHT,
WIDGET_MOVE_DOWN_RIGHT = WIDGET_MOVE_RIGHT | WIDGET_MOVE_DOWN,
WIDGET_MOVE_RIGHT_STRETCH_DOWN = WIDGET_MOVE_RIGHT | WIDGET_STRETCH_DOWN,
WIDGET_MOVE_DOWN_STRETCH_RIGHT = WIDGET_MOVE_DOWN | WIDGET_STRETCH_RIGHT,
};
void ResizeWindowWidgets(Window *w, const byte *resizearray, int16 length, byte horizontal, int16 vertical);
#endif
|