|
void | cv::winrt_initContainer (::Windows::UI::Xaml::Controls::Panel^container) |
| Initializes container component that will be used to hold generated window content.
|
|
This figure explains new functionality implemented with WinRT GUI. The new GUI provides an Image control,
and a slider panel. Slider panel holds trackbars attached to it.
Sliders are attached below the image control. Every new slider is added below the previous one.
See below the example used to generate the figure:
void sample_app::MainPage::ShowWindow()
{
int state = 42;
{
if (pos == 0) {
}
};
{
if (pos >= 70) {
}
};
}
void cv::winrt_initContainer |
( |
::Windows::UI::Xaml::Controls::Panel^ |
container | ) |
|
Initializes container component that will be used to hold generated window content.
- Parameters
-
container | Container (Panel^) reference that will be used to hold generated window content: controls and image. |
- Note
- Must be called to assign WinRT container that will hold created windows content.