__pForm = const_cast <Form*> (pForm);
ScrollPanel* pPopupScrollPanel = new (std::nothrow) ScrollPanel();
- pPopupScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pPopupScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
AddControl(pPopupScrollPanel);
Button* pButtonCancel = new (std::nothrow) Button();
pFooter->AddActionEventListener(*this);
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
static int UI_X_POSITION = 5;
static int UI_Y_POSITION = 0;
pFooter->AddActionEventListener(*this);
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
unsigned int backgroundColor = 0xABABAB;
Color color(backgroundColor, false);
pFooter->AddActionEventListener(*this);
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
static int UI_X_POSITION = 5;
static int UI_Y_POSITION = 0;
pFooter->AddActionEventListener(*this);
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
static int UI_X_POSITION = 5;
static int UI_Y_POSITION = 0;
pFooter->AddActionEventListener(*this);
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
static const int UI_X_POSITION_LEFT = 20;
static const int UI_X_RIGHT_MARGIN = 40;
pFooter->AddActionEventListener(*this);
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
__pAddressbookNameLabel = new (std::nothrow) Label();
__pAddressbookNameLabel->Construct(Rectangle(0, 0, 500 , 112), L"");
pFooter->AddActionEventListener(*this);
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
static const int UI_X_POSITION_LEFT = 20;
static const int UI_X_MARGIN_RIGHT = 40;
int yPosition = 0;
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
Label* pNameLabel = new (std::nothrow) Label();
pNameLabel->Construct(Rectangle(UI_X_POSITION_LEFT, yPosition += 10, GetClientAreaBounds().width - UI_X_RIGHT_MARGIN , UI_LABEL_HEIGHT), L"Name");
static int UI_Y_POSITION = 0;
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
__pListView = new (std::nothrow) ListView();
__pListView->Construct(Rectangle(UI_X_POSITION_LEFT, UI_Y_POSITION, GetClientAreaBounds().width, GetClientAreaBounds().height));
static int UI_X_RIGHT_MARGIN = 0;
ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
- pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+ pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
__pListView = new (std::nothrow) ListView();
__pListView->Construct(Rectangle(UI_X_POSITION_LEFT, UI_Y_POSITION, GetClientAreaBounds().width - UI_X_RIGHT_MARGIN, GetClientAreaBounds().height));