Adding menus.
This commit is contained in:
@@ -176,6 +176,8 @@ class Profiler {
|
||||
static void OnMouseUp();
|
||||
static void OnMouseMove(int x, int y);
|
||||
static void OnMouseWheel(int x, int y, int dy);
|
||||
static void ToggleDisplay();
|
||||
static void TogglePause();
|
||||
|
||||
// Gets the current display, if any.
|
||||
static ProfilerDisplay* display() { return display_.get(); }
|
||||
@@ -184,8 +186,6 @@ class Profiler {
|
||||
// Presents the profiler to the bound display, if any.
|
||||
static void Present();
|
||||
|
||||
// TODO(benvanik): display mode/pause/etc?
|
||||
|
||||
private:
|
||||
static std::unique_ptr<ProfilerDisplay> display_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user