41 typedef ::XVisualInfo Info ;
59 ::VisualID
id()
const ;
72 void init(
Display & , VisualID ) ;
73 static void check(
bool ) ;
75 void operator=(
const Visual & ) ;
78 ::XVisualInfo m_info ;
Visual(Display &)
Constructor for the display's default visual.
int type() const
Returns the type.
std::string typeName() const
Returns the type name.
static std::list< Info > infoList(Display &)
Returns a list of supported "visuals" for the default screen.
int depth() const
Returns the depth.
::VisualID id() const
Returns the id.
::Visual * x()
Returns the X object.