MCPcopy Create free account
hub / github.com/NetHack/NetHack / paintCell

Method paintCell

outdated/win/Qt3/qt3_win.cpp:904–917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902 }
903
904 void paintCell( QPainter *p, const QColorGroup &cg,
905 int column, int width, int alignment )
906 {
907 if ( isSelectable() ) {
908 QListViewItem::paintCell( p, cg, column, width, alignment );
909 } else {
910 QColorGroup disabled(
911 cg.foreground().light(),
912 cg.button().light(),
913 cg.light(), cg.dark(), cg.mid(),
914 gray, cg.base() );
915 QListViewItem::paintCell( p, disabled, column, width, alignment );
916 }
917 }
918};
919
920class NhPSListViewRole : public NhPSListViewItem {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected