Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
e58fc56d
Commit
e58fc56d
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
Dot: Filename to constructor arg
parent
ea6ed44f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/cpp/dot.cpp
+1
-1
1 addition, 1 deletion
examples/cpp/dot.cpp
examples/cpp/dot.h
+2
-2
2 additions, 2 deletions
examples/cpp/dot.h
with
3 additions
and
3 deletions
examples/cpp/dot.cpp
+
1
−
1
View file @
e58fc56d
...
...
@@ -4,7 +4,7 @@ int main(int argc, char **argv)
{
EffectRunner
r
;
DotEffect
e
;
DotEffect
e
(
"data/dot.png"
)
;
r
.
setEffect
(
&
e
);
// Defaults, overridable with command line options
...
...
This diff is collapsed.
Click to expand it.
examples/cpp/dot.h
+
2
−
2
View file @
e58fc56d
...
...
@@ -9,8 +9,8 @@
class
DotEffect
:
public
Effect
{
public:
DotEffect
()
:
dot
(
"data/dot.png"
),
DotEffect
(
const
char
*
filename
)
:
dot
(
filename
),
angle1
(
0
),
angle2
(
0
),
angle3
(
0
)
{}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment