Exemplo n.º 1
0
        private void RreloadControlsWidget()
        {
            GuiWidget manualPrinterControls = new ManualControlsWidget();

            manualControlsPage.RemoveAllChildren();
            manualControlsPage.AddChild(manualPrinterControls);
        }
Exemplo n.º 2
0
 private void ReloadSliceSettingsWidget()
 {
     sliceTabPage.RemoveAllChildren();
     sliceSettingsWidget = new SliceSettingsWidget();
     sliceSettingsWidget.AnchorAll();
     sliceTabPage.AddChild(sliceSettingsWidget);
 }
Exemplo n.º 3
0
        void reloadSliceSettingsWidget()
        {
            //Store the UI state from the current display
            sliceSettingsUiState = new SliceSettingsWidgetUiState(sliceSettingsWidget);

            sliceTabPage.RemoveAllChildren();
            sliceSettingsWidget = new SliceSettingsWidget(sliceSettingsUiState);
            sliceSettingsWidget.AnchorAll();
            sliceTabPage.AddChild(sliceSettingsWidget);
        }
Exemplo n.º 4
0
        void reloadControlsWidget()
        {
            GuiWidget manualPrinterControls = new ManualPrinterControls();

            //ScrollableWidget manualPrinterControlsWidget = new ScrollableWidget(true);
            //manualPrinterControlsWidget.ScrollArea.HAnchor |= Agg.UI.HAnchor.ParentLeftRight;
            //manualPrinterControlsWidget.AnchorAll();
            //manualPrinterControlsWidget.AddChild(manualPrinterControls);

            manualControlsPage.RemoveAllChildren();
            manualControlsPage.AddChild(manualPrinterControls);
        }
Exemplo n.º 5
0
        private void ReloadAdvancedControls()
        {
            // ReloadControlsWidget
            manualControlsPage.RemoveAllChildren();
            manualControlsPage.AddChild(new ManualControlsWidget());

            // ReloadConfigurationWidget
            optionsPage.RemoveAllChildren();
            optionsPage.AddChild(new PrinterConfigurationScrollWidget());

            // ReloadSliceSettingsWidget
            sliceTabPage.RemoveAllChildren();
            sliceTabPage.AddChild(new SliceSettingsWidget()
            {
                HAnchor = HAnchor.ParentLeftRight, VAnchor = VAnchor.ParentBottomTop
            });

            this.Invalidate();
        }
Exemplo n.º 6
0
 void reloadConfigurationWidget()
 {
     configurationPage.RemoveAllChildren();
     configurationPage.AddChild(new PrinterConfigurationScrollWidget());
 }
Exemplo n.º 7
0
 private void ReloadConfigurationWidget()
 {
     optionsPage.RemoveAllChildren();
     optionsPage.AddChild(new PrinterConfigurationScrollWidget());
 }