A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
graphlib.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.
[graphlib.git]
/
DrawingThread.cpp
1
#include "DrawingThread.h"
2
#include <QThread>
3
4
DrawingThread::DrawingThread(DrawingArea &a, ThreadFunction f)
5
: drawingArea(a)
6
, threadFunction(f)
7
{
8
}
9
10
void DrawingThread::run()
11
{
12
exit(threadFunction(drawingArea));
13
}