LibDraw: Add ColorRole::BaseText (to be painted on ColorRole::Base)

This commit is contained in:
Andreas Kling 2019-12-24 22:01:32 +01:00
parent a79bac428b
commit aae54bdbde
Notes: sideshowbarker 2024-07-19 10:42:26 +09:00
11 changed files with 13 additions and 0 deletions

View file

@ -10,6 +10,8 @@
GItemView::GItemView(GWidget* parent)
: GAbstractView(parent)
{
set_background_role(ColorRole::Base);
set_foreground_role(ColorRole::BaseText);
set_frame_shape(FrameShape::Container);
set_frame_shadow(FrameShadow::Sunken);
set_frame_thickness(2);