Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDT4102
Documentation
Commits
6715a8f4
Commit
6715a8f4
authored
2 years ago
by
bartvbl
Browse files
Options
Downloads
Patches
Plain Diff
Compiler fix
parent
0a541813
No related branches found
No related tags found
No related merge requests found
Pipeline
#230034
passed
2 years ago
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/animationwindow/gui.md
+8
-8
8 additions, 8 deletions
docs/animationwindow/gui.md
with
8 additions
and
8 deletions
docs/animationwindow/gui.md
+
8
−
8
View file @
6715a8f4
...
...
@@ -22,8 +22,8 @@ For å vise hvordan man definerer og bruker en callback funksjon, fortsetter vi
int
main
()
{
const
Point
buttonPosition
{
100
,
100
};
const
int
buttonWidth
=
100
;
const
int
buttonHeight
=
40
;
const
unsigned
int
buttonWidth
=
100
;
const
unsigned
int
buttonHeight
=
40
;
const
string
buttonLabel
=
"Click me!"
;
Button
button
{
buttonPosition
,
buttonWidth
,
buttonHeight
,
buttonLabel
};
...
...
@@ -49,8 +49,8 @@ void callbackFunction() {
int
main
()
{
const
Point
buttonPosition
{
100
,
100
};
const
int
buttonWidth
=
100
;
const
int
buttonHeight
=
40
;
const
unsigned
int
buttonWidth
=
100
;
const
unsigned
int
buttonHeight
=
40
;
const
string
buttonLabel
=
"Click me!"
;
Button
button
{
buttonPosition
,
buttonWidth
,
buttonHeight
,
buttonLabel
};
...
...
@@ -76,8 +76,8 @@ void callbackFunction() {
int
main
()
{
const
Point
buttonPosition
{
100
,
100
};
const
int
buttonWidth
=
100
;
const
int
buttonHeight
=
40
;
const
unsigned
int
buttonWidth
=
100
;
const
unsigned
int
buttonHeight
=
40
;
const
string
buttonLabel
=
"Click me!"
;
Button
button
{
buttonPosition
,
buttonWidth
,
buttonHeight
,
buttonLabel
};
...
...
@@ -159,8 +159,8 @@ void buttonClicked() {
int
main
()
{
const
Point
buttonPosition
{
100
,
100
};
const
int
buttonWidth
=
100
;
const
int
buttonHeight
=
40
;
const
unsigned
int
buttonWidth
=
100
;
const
unsigned
int
buttonHeight
=
40
;
const
string
buttonLabel
=
"Click me!"
;
Button
button
{
buttonPosition
,
buttonWidth
,
buttonHeight
,
buttonLabel
};
...
...
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