initial control flow viewer structure rework
[lttv.git] / ltt / branches / poly / lttv / modules / guiControlFlow / Drawing.h
CommitLineData
f0d936c0 1#ifndef _DRAWING_H
2#define _DRAWING_H
3
4#include <time.h>
5
6typedef time_t ltt_time;
7
8typedef struct _ltt_time_interval
9{
10 ltt_time time_begin, time_end;
11} ltt_time_interval;
12
13
14
15typedef struct _Drawing_t Drawing_t;
16
17Drawing_t *Drawing(void);
18void Drawing_destroy(Drawing_t *Drawing);
19void Drawing_Resize(Drawing_t *Drawing, guint h, guint, w);
20
21
22
23void get_time_from_pixels(
24 guint area_x,
25 guint area_width,
26 guint window_width,
27 ltt_time &window_time_begin,
28 ltt_time &window_time_end,
29 ltt_time &time_begin,
30 ltt_time &time_end);
31
32
33#endif // _DRAWING_H
This page took 0.023182 seconds and 4 git commands to generate.