Files
myink/StackPanel_t.hpp
stubbfelnewpc 443f999d77 add testblock
2020-05-06 00:07:20 +02:00

36 lines
957 B
C++

#ifndef STACK_PANEL_T_H
#define STACK_PANEL_T_H
#include <cstddef>
#include "Color_t.hpp"
#include "PositionalProperties_t.hpp"
//namespace myink { namespace ui {
class StackPanel;
typedef StackPanel * StackPanelPtr;
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