mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
37 lines
484 B
C++
37 lines
484 B
C++
#ifndef _UltimatePlayer_StreamInfo_h_
|
|
#define _UltimatePlayer_StreamInfo_h_
|
|
|
|
class StreamInfo : public Ctrl
|
|
{
|
|
WString name;
|
|
String time;
|
|
|
|
bool noname;
|
|
|
|
public:
|
|
|
|
|
|
StreamInfo();
|
|
void KillName()
|
|
{
|
|
name = "Ultimate Player";
|
|
noname = true;
|
|
Refresh();
|
|
}
|
|
void SetName(WString &s)
|
|
{
|
|
name = s;
|
|
noname = false;
|
|
Refresh();
|
|
}
|
|
void SetTime(String &s)
|
|
{
|
|
time = s;
|
|
noname = false;
|
|
Refresh();
|
|
}
|
|
virtual void Paint(Draw &w);
|
|
|
|
};
|
|
|
|
#endif
|