wavelength 1.0.0
Loading...
Searching...
No Matches
netflashupdate.h
Go to the documentation of this file.
1#pragma once
2
3#include "rnd/rndmat.h"
4#include "rnd/rndmesh.h"
5#include "rnd/rndtext.h"
6#include "rnd/rndview.h"
7
15public:
23
34 void InitFlash(const char *pszPanel, const char *pszKind);
35
44 void StopFlash();
45
54 void HideFlash();
55
66 void StartFlash(float fTime, bool bHilite);
67
77 void PollFlash(float fTime);
78
79protected:
80 int mHilite;
81
83
85
87
89
91
92 float mFlashTime;
93
95
97
99
101};
float mFlashInterval
Definition netflashupdate.h:94
NetFlashUpdate()
Construct a notice that is not flashing.
RndText * mRefresh
Definition netflashupdate.h:98
void HideFlash()
Stop flashing, hide the refresh text, and show the titles.
RndMat * mHiliteMat
Definition netflashupdate.h:90
int mMaxFlashes
Definition netflashupdate.h:86
void StartFlash(float fTime, bool bHilite)
Show the refresh text instead of the titles and start flashing.
int mHilite
Definition netflashupdate.h:80
int mFlashing
Definition netflashupdate.h:82
void InitFlash(const char *pszPanel, const char *pszKind)
Find the objects of a panel and the materials of a kind of panel.
RndMat * mMat
Definition netflashupdate.h:88
RndView * mTitles
Definition netflashupdate.h:96
void StopFlash()
Stop flashing and give the mesh its final material.
RndMesh * mPanelMesh
Definition netflashupdate.h:100
float mFlashTime
Definition netflashupdate.h:92
int mFlashes
Definition netflashupdate.h:84
void PollFlash(float fTime)
Swap the material of the mesh each interval until the mesh has flashed enough times.
Surface description: blending, lighting colours, culling, and a list of texture stages.
Definition rndmat.h:20
Triangle mesh with a material.
Definition rndmesh.h:31
Text drawn with a bitmap font as a mesh of one quad per character.
Definition rndtext.h:27
View that shows the children of another view, its children owner, under its own transform and frame.
Definition rndview.h:27