Files
myink/StackPanel_t.hpp
stubbfelnewpc 6791244f22 init
2020-05-01 21:22:26 +02:00

41 lines
1.1 KiB
C++

#ifndef STACK_PANEL_T_H
#define STACK_PANEL_T_H
#include <cstddef>
//namespace myink { namespace ui {
class StackPanel;
typedef StackPanel * StackPanelPtr;
typedef struct PositionalProperties_t
{
size_t left;
size_t top;
size_t width;
size_t height;
} PositionalProperties, *PositionalPropertiesPtr;
typedef size_t Color;
typedef size_t LineWidth;
typedef size_t Margin;
typedef size_t Padding;
typedef PositionalProperties(*DrawItemCallBack)(const PositionalProperties &);
typedef struct DrawItemCallBackList_t
{
size_t size;
DrawItemCallBack * callbacks;
} DrawItemCallBackList, *DrawItemCallBackListPtr;
typedef PositionalProperties (*MoveToNextItem)(const PositionalProperties &, const PositionalProperties & );
typedef struct StackPanelStyleProperties_t
{
Color background_color;
LineWidth border_line_width;
Color border_line_color;
Margin margin;
Padding padding;
} StackPanelStyleProperties, *StackPanelStylePropertiesPtr;
//}}
#endif