#include "../GraphicsHost/GuiGraphicsHost.h"
namespace
{
namespace
{
namespace
{
using
namespace
collections
;
using
namespace
controls
;
using
namespace
elements
;
::
()
{
}
::
()
{
}
::
()
{
;
if
(
)
{
if
(
auto
=
->
->
())
{
bounds
(
(
0
,
0
),
window
->
(
window
->
()));
}
}
(
bounds
);
return
bounds
;
}
void
::
(
)
{
}
::
()
{
}
::
()
{
}
bool
::
()
{
return
;
}
void
::
(
bool
)
{
=
;
}
bool
::
()
{
return
;
}
::
()
{
=
(
);
if
(
() &&
())
{
if
(
.
>=
0
)
{
=
.
-
result
.
;
result
.
+=
offset
;
result
.
+=
offset
;
}
if
(
.
>=
0
)
{
=
.
-
result
.
;
result
.
+=
offset
;
result
.
+=
offset
;
}
if
(
.
>=
0
)
{
result
.
+=
.
;
}
if
(
.
>=
0
)
{
result
.
+=
.
;
}
}
return
result
;
}
::
()
{
=
();
if
(
() &&
())
{
=
()->
().
();
if
(
.
>=
0
&&
.
>=
0
)
{
result
.
=
.
;
result
.
=
clientSize
.
-
.
;
}
else
if
(
.
>=
0
)
{
=
result
.
();
result
.
=
.
;
result
.
=
result
.
+
width
;
}
else
if
(
.
>=
0
)
{
=
result
.
();
result
.
=
clientSize
.
-
.
;
result
.
=
result
.
-
width
;
}
if
(
.
>=
0
&&
.
>=
0
)
{
result
.
=
.
;
result
.
=
clientSize
.
-
.
;
}
else
if
(
.
>=
0
)
{
=
result
.
();
result
.
=
.
;
result
.
=
result
.
+
height
;
}
else
if
(
.
>=
0
)
{
=
result
.
();
result
.
=
clientSize
.
-
.
;
result
.
=
result
.
-
height
;
}
}
(
result
);
return
result
;
}
void
::
(
)
{
;
InvokeOnCompositionStateChanged
();
}
::
()
{
return
;
}
void
::
(
)
{
;
InvokeOnCompositionStateChanged
();
}
bool
::
()
{
return
(-
1
, -
1
, -
1
, -
1
);
}
}
}
}