Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
2b88e121
Commit
2b88e121
authored
Aug 06, 2012
by
Aleksei Kanash
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed painting of lcdTimer.
parent
73b9f1b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
118 additions
and
121 deletions
+118
-121
UBGraphicsItemDelegate.cpp
src/domain/UBGraphicsItemDelegate.cpp
+118
-119
UBGraphicsItemDelegate.h
src/domain/UBGraphicsItemDelegate.h
+0
-2
No files found.
src/domain/UBGraphicsItemDelegate.cpp
View file @
2b88e121
...
@@ -852,7 +852,6 @@ void MediaTimer::drawSegment(const QPoint &pos, char segmentNo, QPainter &p,
...
@@ -852,7 +852,6 @@ void MediaTimer::drawSegment(const QPoint &pos, char segmentNo, QPainter &p,
#define LIGHT
#define LIGHT
#define DARK
#define DARK
if
(
fill
)
{
QPolygon
a
(
0
);
QPolygon
a
(
0
);
switch
(
segmentNo
)
{
switch
(
segmentNo
)
{
case
0
:
case
0
:
...
@@ -973,7 +972,7 @@ void MediaTimer::drawSegment(const QPoint &pos, char segmentNo, QPainter &p,
...
@@ -973,7 +972,7 @@ void MediaTimer::drawSegment(const QPoint &pos, char segmentNo, QPainter &p,
p
.
setBrush
(
Qt
::
NoBrush
);
p
.
setBrush
(
Qt
::
NoBrush
);
pt
=
pos
;
pt
=
pos
;
}
#undef LINETO
#undef LINETO
#undef LIGHT
#undef LIGHT
#undef DARK
#undef DARK
...
...
src/domain/UBGraphicsItemDelegate.h
View file @
2b88e121
...
@@ -95,8 +95,6 @@ private:
...
@@ -95,8 +95,6 @@ private:
QBitArray
points
;
QBitArray
points
;
double
val
;
double
val
;
uint
fill
:
1
;
uint
shadow
:
1
;
uint
shadow
:
1
;
uint
smallPoint
:
1
;
uint
smallPoint
:
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment