1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

LibGUI: Add GWidget::doubleclick_event().

Now double-clicking an item in a GTableView or GItemView will activate it.
This commit is contained in:
Andreas Kling 2019-03-25 01:42:15 +01:00
parent 43f9027968
commit 20f7d7ec67
11 changed files with 100 additions and 7 deletions

14
LibGUI/GElapsedTimer.h Normal file
View file

@ -0,0 +1,14 @@
#pragma once
#include <time.h>
class GElapsedTimer {
public:
GElapsedTimer() { }
void start();
int elapsed() const;
private:
struct timeval m_start_time { 0, 0 };
};