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:
parent
43f9027968
commit
20f7d7ec67
11 changed files with 100 additions and 7 deletions
14
LibGUI/GElapsedTimer.h
Normal file
14
LibGUI/GElapsedTimer.h
Normal 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 };
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue