Go to the SVN repository for this file.
66 const static int kPrH= 10;
70 CGlAttrGuardguard(GL_LINE_BIT | GL_ENABLE_BIT | GL_COLOR_BUFFER_BIT );
75glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
77glEnable(GL_LINE_SMOOTH);
78glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
85glColor4d(0.9, 0.9, 0.9,
kAlpha);
86glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
87glRectd(x1, y1, x2, y2);
89glColor4d(0.5, 0.5, 0.5,
kAlpha);
90glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
91glRectd(x1, y1, x2, y2);
99 intpr_y2 = pr_y1 +
kPrH- 1;
102glColor4d(0.8, 0.8, 1.0,
kAlpha);
103glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
104glRectd(pr_x1, pr_y1, pr_x2, pr_y2);
107glColor4d(0.5, 0.5, 1.0,
kAlpha);
109glRectd(pr_x1, pr_y1, pr_x1 + w - 1, pr_y2);
112glColor4d(0.0, 0.0, 1.0,
kAlpha);
113glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
114glRectd(pr_x1, pr_y1, pr_x2, pr_y2);
117glColor4d(0.2, 0.2, 0.2, 1.0);
CGlAttrGuard - guard class for restoring OpenGL attributes.
virtual TVPPoint PreferredSize()
virtual void Render(CGlPane &pane)
virtual void Update(float progress, const string &msg)
virtual ~CProgressPanel()
CProgressPanel()
CProgressPanel.
CGlPoint< TVPUnit > TVPPoint
virtual TModelUnit TextHeight(void) const
virtual void TextOut(const char *text) const
TextOut interface Write the specified text and set up state and transformation as needed.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
unsigned int
A callback function used to compare two keys in a database.
static const double kAlpha
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4