Olive
Classes | Namespaces | Functions | Variables
timelinewidget.h File Reference
#include <QTimer>
#include <QWidget>
#include <QScrollBar>
#include <QPainter>
#include <QApplication>
#include <QDesktopWidget>
#include "project/sequence.h"
#include "project/clip.h"
#include "project/footage.h"
#include "project/media.h"
#include "project/undo.h"
#include "timelinetools.h"

Go to the source code of this file.

Classes

struct  TimelineTrackHeight
 
class  TimelineWidget
 

Namespaces

 olive
 
 olive::timeline
 

Functions

bool same_sign (int a, int b)
 
void draw_waveform (ClipPtr clip, const FootageStream *ms, long media_length, QPainter *p, const QRect &clip_rect, int waveform_start, int waveform_limit, double zoom)
 

Variables

const int olive::timeline::kGhostThickness = 2
 
const int olive::timeline::kClipTextPadding = 3
 
const int olive::timeline::kTrackDefaultHeight = 40
 
const int olive::timeline::kTrackMinHeight = 30
 
const int olive::timeline::kTrackHeightIncrement = 10
 

Function Documentation

◆ draw_waveform()

void draw_waveform ( ClipPtr  clip,
const FootageStream ms,
long  media_length,
QPainter *  p,
const QRect &  clip_rect,
int  waveform_start,
int  waveform_limit,
double  zoom 
)

◆ same_sign()

bool same_sign ( int  a,
int  b 
)