Mercurial > hg > svgui
comparison view/AlignmentView.h @ 1183:57d192e26331 zoom
Some hackery toward having a zoomlevel type
author | Chris Cannam |
---|---|
date | Mon, 12 Dec 2016 15:18:52 +0000 |
parents | f2c63ec85901 |
children | a18e78b9c78b |
comparison
equal
deleted
inserted
replaced
1182:6605984fa98f | 1183:57d192e26331 |
---|---|
30 void setViewBelow(View *view); | 30 void setViewBelow(View *view); |
31 | 31 |
32 public slots: | 32 public slots: |
33 virtual void globalCentreFrameChanged(sv_frame_t); | 33 virtual void globalCentreFrameChanged(sv_frame_t); |
34 virtual void viewCentreFrameChanged(View *, sv_frame_t); | 34 virtual void viewCentreFrameChanged(View *, sv_frame_t); |
35 virtual void viewAboveZoomLevelChanged(int, bool); | 35 virtual void viewAboveZoomLevelChanged(ZoomLevel, bool); |
36 virtual void viewBelowZoomLevelChanged(int, bool); | 36 virtual void viewBelowZoomLevelChanged(ZoomLevel, bool); |
37 virtual void viewManagerPlaybackFrameChanged(sv_frame_t); | 37 virtual void viewManagerPlaybackFrameChanged(sv_frame_t); |
38 | 38 |
39 protected: | 39 protected: |
40 virtual void paintEvent(QPaintEvent *e); | 40 virtual void paintEvent(QPaintEvent *e); |
41 virtual bool shouldLabelSelections() const { return false; } | 41 virtual bool shouldLabelSelections() const { return false; } |