~ubuntu-branches/debian/sid/chessx/sid

« back to all changes in this revision

Viewing changes to src/gui/boardview.h

  • Committer: Package Import Robot
  • Author(s): Niklas Fiekas
  • Date: 2014-10-06 18:26:02 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20141006182602-4kpiyz31knghkbrq
Tags: 1.2.2-1
* New upstream release.
  - Fix crash and data loss when trying to save a database other than the
    currently selected one.
  - Exclude autogenerated files from source tarball; fixes lintian warning
    source-contains-autogenerated-visual-c++-file.
  - Remove debian/patches/desktop-file.patch; applied upstream.
  - Remove debian/patches/desktop-mime-but-no-exec-code.patch; applied
    upstream.
* debian/chessx.6:
  - Adjust tagline in manpage.
* debian/rules:
  - Remove duplicate QT_SELECT=5.
* debian/control:
  - Update standards version to 3.9.6.0; no relevant changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
    /** Catch mouse events */
146
146
    bool eventFilter(QObject *obj, QEvent *ev);
147
147
 
 
148
    void drawArrow(int square1, int square2, QColor color);
 
149
    void drawHiliteSquare(QPoint pos, BoardTheme::ColorRole role);
 
150
 
 
151
    QPoint posFromSquare(int square) const;
 
152
 
 
153
    void drawHiliting(QPaintEvent* event);
148
154
    void drawSquares(QPaintEvent* event);
149
155
    void drawPieces(QPaintEvent* event);
150
156
    void drawMoveIndicator(QPaintEvent* event);
161
167
    QPoint m_translate;
162
168
    bool m_flipped;
163
169
    bool m_showFrame;
164
 
    bool m_showCurrentMove;
 
170
    int m_showCurrentMove;
165
171
    bool m_guessMove;
166
172
    int m_selectedSquare;
167
173
    int m_hoverSquare;