Changeset View
Changeset View
Standalone View
Standalone View
src/ViewManager.cpp
Show First 20 Lines • Show All 850 Lines • ▼ Show 20 Line(s) | 837 | { | |||
---|---|---|---|---|---|
851 | 851 | | |||
852 | // load font | 852 | // load font | ||
853 | view->setAntialias(profile->antiAliasFonts()); | 853 | view->setAntialias(profile->antiAliasFonts()); | ||
854 | view->setBoldIntense(profile->boldIntense()); | 854 | view->setBoldIntense(profile->boldIntense()); | ||
855 | view->setUseFontLineCharacters(profile->useFontLineCharacters()); | 855 | view->setUseFontLineCharacters(profile->useFontLineCharacters()); | ||
856 | view->setVTFont(profile->font()); | 856 | view->setVTFont(profile->font()); | ||
857 | 857 | | |||
858 | // set scroll-bar position | 858 | // set scroll-bar position | ||
859 | view->setScrollBarPosition(Enum::ScrollBarPositionEnum(profile->property<int>(Profile::ScrollBarPosition))); | 859 | view->scrollBar()->setPosition(TerminalScrollBar::Position(profile->property<int>(Profile::ScrollBarPosition))); | ||
860 | view->setScrollFullPage(profile->property<bool>(Profile::ScrollFullPage)); | 860 | view->setScrollFullPage(profile->property<bool>(Profile::ScrollFullPage)); | ||
861 | 861 | | |||
862 | // show hint about terminal size after resizing | 862 | // show hint about terminal size after resizing | ||
863 | view->setShowTerminalSizeHint(profile->showTerminalSizeHint()); | 863 | view->setShowTerminalSizeHint(profile->showTerminalSizeHint()); | ||
864 | 864 | | |||
865 | // terminal features | 865 | // terminal features | ||
866 | view->setBlinkingCursorEnabled(profile->blinkingCursorEnabled()); | 866 | view->setBlinkingCursorEnabled(profile->blinkingCursorEnabled()); | ||
867 | view->setBlinkingTextEnabled(profile->blinkingTextEnabled()); | 867 | view->setBlinkingTextEnabled(profile->blinkingTextEnabled()); | ||
▲ Show 20 Lines • Show All 336 Lines • Show Last 20 Lines |