Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SAE2.01 - Developpement application
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
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PIQUEREZ Corentin
SAE2.01 - Developpement application
Commits
cbe67284
Commit
cbe67284
authored
1 year ago
by
CHEVALIER Noemy
Browse files
Options
Downloads
Patches
Plain Diff
Ajout fonctionnalité bouton extremités
parent
47f51c0e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shukan/ShukanController.java
+8
-2
8 additions, 2 deletions
shukan/ShukanController.java
with
8 additions
and
2 deletions
shukan/ShukanController.java
+
8
−
2
View file @
cbe67284
...
@@ -215,14 +215,20 @@ public class ShukanController
...
@@ -215,14 +215,20 @@ public class ShukanController
else
if
(
e
.
getSource
()==
bar
.
buttons
[
5
])
{
if
(
data
.
followRight
())
canvas
.
repaint
();}
else
if
(
e
.
getSource
()==
bar
.
buttons
[
5
])
{
if
(
data
.
followRight
())
canvas
.
repaint
();}
else
if
(
e
.
getSource
()==
bar
.
buttons
[
6
])
else
if
(
e
.
getSource
()==
bar
.
buttons
[
6
])
{
data
.
exchangeExtremes
();
canvas
.
repaint
();
}
else
if
(
e
.
getSource
()==
bar
.
buttons
[
7
])
{
{
data
.
toggleCursus
(
false
);
data
.
toggleCursus
(
false
);
canvas
.
repaint
();
canvas
.
repaint
();
}
}
//if (data.followRight ()) canvas.repaint ();
//if (data.followRight ()) canvas.repaint ();
else
if
(
e
.
getSource
()==
bar
.
buttons
[
7
])
else
if
(
e
.
getSource
()==
bar
.
buttons
[
8
])
new
ShukanTex
(
data
);
new
ShukanTex
(
data
);
else
if
(
e
.
getSource
()==
bar
.
buttons
[
8
]){
else
if
(
e
.
getSource
()==
bar
.
buttons
[
9
]){
EventQueue
.
invokeLater
(()
->
{
EventQueue
.
invokeLater
(()
->
{
ShukanParameters
myParameters
=
new
ShukanParameters
(
"Changer de thème"
,
canvas
);
ShukanParameters
myParameters
=
new
ShukanParameters
(
"Changer de thème"
,
canvas
);
...
...
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