⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linemarker.h

📁 wxGTK 是 wxWidgets 的 linux GTK+ (>2.2.3)版本。wxWidgets 是一个跨平台的 GUI 框架
💻 H
字号:
// Scintilla source code edit control/** @file LineMarker.h ** Defines the look of a line marker in the margin . **/// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>// The License.txt file describes the conditions under which this software may be distributed.#ifndef LINEMARKER_H#define LINEMARKER_H/** */class LineMarker {public:	int markType;	ColourPair fore;	ColourPair back;	int alpha;	XPM *pxpm;	LineMarker() {		markType = SC_MARK_CIRCLE;		fore = ColourDesired(0,0,0);		back = ColourDesired(0xff,0xff,0xff);		alpha = SC_ALPHA_NOALPHA;		pxpm = NULL;	}	LineMarker(const LineMarker &) {		// Defined to avoid pxpm being blindly copied, not as real copy constructor		markType = SC_MARK_CIRCLE;		fore = ColourDesired(0,0,0);		back = ColourDesired(0xff,0xff,0xff);		alpha = SC_ALPHA_NOALPHA;		pxpm = NULL;	}	~LineMarker() {		delete pxpm;	}	LineMarker &operator=(const LineMarker &) {		// Defined to avoid pxpm being blindly copied, not as real assignment operator		markType = SC_MARK_CIRCLE;		fore = ColourDesired(0,0,0);		back = ColourDesired(0xff,0xff,0xff);		alpha = SC_ALPHA_NOALPHA;		delete pxpm;		pxpm = NULL;		return *this;	}	void RefreshColourPalette(Palette &pal, bool want);	void SetXPM(const char *textForm);	void SetXPM(const char * const *linesForm);	void Draw(Surface *surface, PRectangle &rc, Font &fontForCharacter);};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -