rewrote TimeRuler drawing function for improved code, performance, and functionality
This commit is contained in:
@@ -64,6 +64,15 @@ signals:
|
||||
void TimeChanged(int64_t);
|
||||
|
||||
private:
|
||||
enum Component {
|
||||
kNone,
|
||||
kDay,
|
||||
kHour,
|
||||
kMinute,
|
||||
kSecond,
|
||||
kFrame
|
||||
};
|
||||
|
||||
void DrawPlayhead(QPainter* p, int x, int y);
|
||||
|
||||
double ScreenToUnitFloat(int screen);
|
||||
|
||||
Reference in New Issue
Block a user