MCPcopy Create free account
hub / github.com/cxasm/notepad-- / changeMarkColor

Method changeMarkColor

src/cceditor/ccnotepad.cpp:1990–1998  ·  view source on GitHub ↗

修改标记样式的颜色

Source from the content-addressed store, hash-verified

1988
1989//修改标记样式的颜色
1990void CCNotePad::changeMarkColor(int sytleId)
1991{
1992 if (sytleId < 5)
1993 {
1994 QPixmap colorBar(36, 36);
1995 colorBar.fill((&StyleSet::s_global_style->mark_style_1)[sytleId].bgColor);
1996 m_styleMarkActList.at(sytleId)->setIcon(colorBar);
1997 }
1998}
1999
2000
2001void CCNotePad::slot_loadMarkColor()

Callers 1

changeStyleColorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected