Dogeku 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +39 -0
- data/app/Historique/Action.rb +29 -0
- data/app/Historique/ChangerCase.rb +44 -0
- data/app/Historique/HistoriqueAction.rb +114 -0
- data/app/components/CaseDessin.rb +325 -0
- data/app/components/GrilleDessin.rb +235 -0
- data/app/components/Header.rb +194 -0
- data/app/config/app.yml +0 -0
- data/app/config/database.yml +2 -0
- data/app/controller/ApprentissageControleur.rb +75 -0
- data/app/controller/ChargerControleur.rb +41 -0
- data/app/controller/JeuLibreControleur.rb +244 -0
- data/app/controller/MenuControleur.rb +57 -0
- data/app/controller/NiveauControleur.rb +54 -0
- data/app/controller/NouvellePartieControleur.rb +34 -0
- data/app/controller/PrincipaleControleur.rb +30 -0
- data/app/controller/PseudoControleur.rb +95 -0
- data/app/controller/ReglagesControleur.rb +86 -0
- data/app/controller/ReglesControleur.rb +34 -0
- data/app/controller/ScoresControleur.rb +42 -0
- data/app/controller/StatistiquesControleur.rb +64 -0
- data/app/core/Conf.rb +26 -0
- data/app/core/Controller.rb +180 -0
- data/app/core/Core.rb +186 -0
- data/app/core/Model.rb +159 -0
- data/app/core/View.rb +56 -0
- data/app/db/main.sqlite3 +0 -0
- data/app/model/Configuration.rb +180 -0
- data/app/model/Grille.rb +180 -0
- data/app/model/Jeu.rb +74 -0
- data/app/model/Score.rb +100 -0
- data/app/model/Utilisateur.rb +113 -0
- data/app/utils/DSubset.rb +98 -0
- data/app/utils/Generateur.rb +171 -0
- data/app/utils/HPTriple.rb +75 -0
- data/app/utils/Peche.rb +46 -0
- data/app/utils/SCandidate.rb +86 -0
- data/app/utils/SCell.rb +73 -0
- data/app/utils/Technique.rb +202 -0
- data/app/utils/TechniqueUsine.rb +25 -0
- data/app/utils/XWing.rb +203 -0
- data/app/view/Fenetre.rb +424 -0
- data/app/view/FenetreApprentissage.rb +272 -0
- data/app/view/FenetreCharger.rb +31 -0
- data/app/view/FenetreJeuLibre.rb +468 -0
- data/app/view/FenetreMenu.rb +198 -0
- data/app/view/FenetreNiveau.rb +105 -0
- data/app/view/FenetreNouvellePartie.rb +92 -0
- data/app/view/FenetrePrincipale.rb +45 -0
- data/app/view/FenetrePseudo.rb +115 -0
- data/app/view/FenetreReglages.rb +209 -0
- data/app/view/FenetreRegles.rb +111 -0
- data/app/view/FenetreScores.rb +120 -0
- data/app/view/FenetreStatistiques.rb +134 -0
- data/assets/css/style.css +69 -0
- data/assets/img/eraser.png +0 -0
- data/assets/img/fond.jpg +0 -0
- data/assets/img/iconApp.png +0 -0
- data/assets/img/logoS.jpeg +0 -0
- data/assets/img/sudokuIntro.jpg +0 -0
- data/assets/img/user.png +0 -0
- data/bin/dogeku +19 -0
- data/doc/Action.html +309 -0
- data/doc/ApprentissageControleur.html +568 -0
- data/doc/CaseDessin.html +2405 -0
- data/doc/ChangerCase.html +405 -0
- data/doc/ChargerControleur.html +342 -0
- data/doc/Conf.html +378 -0
- data/doc/Configuration.html +1115 -0
- data/doc/Controller.html +1008 -0
- data/doc/Core.html +1191 -0
- data/doc/DSubset.html +647 -0
- data/doc/Fenetre.html +2631 -0
- data/doc/FenetreApprentissage.html +1175 -0
- data/doc/FenetreCharger.html +343 -0
- data/doc/FenetreJeuLibre.html +1859 -0
- data/doc/FenetreMenu.html +900 -0
- data/doc/FenetreNiveau.html +626 -0
- data/doc/FenetreNouvellePartie.html +602 -0
- data/doc/FenetrePrincipale.html +371 -0
- data/doc/FenetrePseudo.html +695 -0
- data/doc/FenetreReglages.html +946 -0
- data/doc/FenetreRegles.html +636 -0
- data/doc/FenetreScores.html +650 -0
- data/doc/FenetreStatistiques.html +672 -0
- data/doc/Generateur.html +1015 -0
- data/doc/Grille.html +1348 -0
- data/doc/GrilleDessin.html +1281 -0
- data/doc/HPTriple.html +593 -0
- data/doc/Header.html +1253 -0
- data/doc/HistoriqueAction.html +792 -0
- data/doc/Jeu.html +923 -0
- data/doc/JeuLibreControleur.html +1445 -0
- data/doc/MenuControleur.html +522 -0
- data/doc/Model.html +996 -0
- data/doc/NiveauControleur.html +451 -0
- data/doc/NouvellePartieControleur.html +330 -0
- data/doc/Peche.html +396 -0
- data/doc/PrincipaleControleur.html +320 -0
- data/doc/PseudoControleur.html +695 -0
- data/doc/ReglagesControleur.html +747 -0
- data/doc/ReglesControleur.html +330 -0
- data/doc/SCandidate.html +617 -0
- data/doc/SCell.html +587 -0
- data/doc/Score.html +926 -0
- data/doc/ScoresControleur.html +346 -0
- data/doc/StatistiquesControleur.html +390 -0
- data/doc/Technique.html +543 -0
- data/doc/TechniqueUsine.html +252 -0
- data/doc/Utilisateur.html +806 -0
- data/doc/View.html +844 -0
- data/doc/XWing.html +1031 -0
- data/doc/_index.html +478 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +492 -0
- data/doc/file.README.html +141 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +17 -0
- data/doc/index.html +141 -0
- data/doc/js/app.js +243 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +2523 -0
- data/doc/top-level-namespace.html +112 -0
- data/test/Generateur/grilleCorrecte.rb +198 -0
- data/test/Model/scoreCorrecte.rb +55 -0
- data/test/Model/utilisateurCorrecte.rb +68 -0
- data/test/test_helper.rb +2 -0
- data/test/unitTest.rb +72 -0
- metadata +187 -0
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>
|
|
7
|
+
Class: FenetreNiveau
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.9.8
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
pathId = "FenetreNiveau";
|
|
19
|
+
relpath = '';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
|
24
|
+
|
|
25
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<div class="nav_wrap">
|
|
31
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
|
32
|
+
<div id="resizer"></div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="main" tabindex="-1">
|
|
36
|
+
<div id="header">
|
|
37
|
+
<div id="menu">
|
|
38
|
+
|
|
39
|
+
<a href="_index.html">Index (F)</a> »
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<span class="title">FenetreNiveau</span>
|
|
43
|
+
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div id="search">
|
|
47
|
+
|
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
|
49
|
+
href="class_list.html">
|
|
50
|
+
|
|
51
|
+
<svg width="24" height="24">
|
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
</svg>
|
|
56
|
+
</a>
|
|
57
|
+
|
|
58
|
+
</div>
|
|
59
|
+
<div class="clear"></div>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
<div id="content"><h1>Class: FenetreNiveau
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</h1>
|
|
67
|
+
<div class="box_info">
|
|
68
|
+
|
|
69
|
+
<dl>
|
|
70
|
+
<dt>Inherits:</dt>
|
|
71
|
+
<dd>
|
|
72
|
+
<span class="inheritName"><span class='object_link'><a href="View.html" title="View (class)">View</a></span></span>
|
|
73
|
+
|
|
74
|
+
<ul class="fullTree">
|
|
75
|
+
<li>Object</li>
|
|
76
|
+
|
|
77
|
+
<li class="next"><span class='object_link'><a href="View.html" title="View (class)">View</a></span></li>
|
|
78
|
+
|
|
79
|
+
<li class="next">FenetreNiveau</li>
|
|
80
|
+
|
|
81
|
+
</ul>
|
|
82
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
83
|
+
|
|
84
|
+
</dd>
|
|
85
|
+
</dl>
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
<dl>
|
|
98
|
+
<dt>Defined in:</dt>
|
|
99
|
+
<dd>app/view/FenetreNiveau.rb</dd>
|
|
100
|
+
</dl>
|
|
101
|
+
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
|
105
|
+
<div class="discussion">
|
|
106
|
+
|
|
107
|
+
<p>classe FenetreNiveau</p>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="tags">
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
<h2>Constant Summary</h2>
|
|
119
|
+
|
|
120
|
+
<h3 class="inherited">Constants included
|
|
121
|
+
from <span class='object_link'><a href="Fenetre.html" title="Fenetre (module)">Fenetre</a></span></h3>
|
|
122
|
+
<p class="inherited"><span class='object_link'><a href="Fenetre.html#COULEUR_BLANC-constant" title="Fenetre::COULEUR_BLANC (constant)">Fenetre::COULEUR_BLANC</a></span>, <span class='object_link'><a href="Fenetre.html#COULEUR_BLEU-constant" title="Fenetre::COULEUR_BLEU (constant)">Fenetre::COULEUR_BLEU</a></span>, <span class='object_link'><a href="Fenetre.html#COULEUR_JAUNE-constant" title="Fenetre::COULEUR_JAUNE (constant)">Fenetre::COULEUR_JAUNE</a></span>, <span class='object_link'><a href="Fenetre.html#COULEUR_ORANGE-constant" title="Fenetre::COULEUR_ORANGE (constant)">Fenetre::COULEUR_ORANGE</a></span>, <span class='object_link'><a href="Fenetre.html#COULEUR_ROUGE-constant" title="Fenetre::COULEUR_ROUGE (constant)">Fenetre::COULEUR_ROUGE</a></span>, <span class='object_link'><a href="Fenetre.html#COULEUR_VERT-constant" title="Fenetre::COULEUR_VERT (constant)">Fenetre::COULEUR_VERT</a></span>, <span class='object_link'><a href="Fenetre.html#FONT_MENU-constant" title="Fenetre::FONT_MENU (constant)">Fenetre::FONT_MENU</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_AUTRE_JEU-constant" title="Fenetre::SIZE_AUTRE_JEU (constant)">Fenetre::SIZE_AUTRE_JEU</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_CONTENU_REGLE-constant" title="Fenetre::SIZE_CONTENU_REGLE (constant)">Fenetre::SIZE_CONTENU_REGLE</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_CONTENU_SCORE-constant" title="Fenetre::SIZE_CONTENU_SCORE (constant)">Fenetre::SIZE_CONTENU_SCORE</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_CONTENU_STAT-constant" title="Fenetre::SIZE_CONTENU_STAT (constant)">Fenetre::SIZE_CONTENU_STAT</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_LABEL_BOUTON-constant" title="Fenetre::SIZE_LABEL_BOUTON (constant)">Fenetre::SIZE_LABEL_BOUTON</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_PSEUDO-constant" title="Fenetre::SIZE_PSEUDO (constant)">Fenetre::SIZE_PSEUDO</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_TITRE-constant" title="Fenetre::SIZE_TITRE (constant)">Fenetre::SIZE_TITRE</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_TITRE_JEU-constant" title="Fenetre::SIZE_TITRE_JEU (constant)">Fenetre::SIZE_TITRE_JEU</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_TITRE_REGLAGE-constant" title="Fenetre::SIZE_TITRE_REGLAGE (constant)">Fenetre::SIZE_TITRE_REGLAGE</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_TITRE_REGLE-constant" title="Fenetre::SIZE_TITRE_REGLE (constant)">Fenetre::SIZE_TITRE_REGLE</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_TITRE_SCORE-constant" title="Fenetre::SIZE_TITRE_SCORE (constant)">Fenetre::SIZE_TITRE_SCORE</a></span>, <span class='object_link'><a href="Fenetre.html#SIZE_TITRE_STAT-constant" title="Fenetre::SIZE_TITRE_STAT (constant)">Fenetre::SIZE_TITRE_STAT</a></span></p>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
<h2>Instance Attribute Summary</h2>
|
|
128
|
+
|
|
129
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="View.html" title="View (class)">View</a></span></h3>
|
|
130
|
+
<p class="inherited"><span class='object_link'><a href="View.html#content=-instance_method" title="View#content= (method)">#content</a></span>, <span class='object_link'><a href="View.html#controller-instance_method" title="View#controller (method)">#controller</a></span>, <span class='object_link'><a href="View.html#headerBar-instance_method" title="View#headerBar (method)">#headerBar</a></span>, <span class='object_link'><a href="View.html#window-instance_method" title="View#window (method)">#window</a></span></p>
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
<h2>
|
|
135
|
+
Instance Method Summary
|
|
136
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
137
|
+
</h2>
|
|
138
|
+
|
|
139
|
+
<ul class="summary">
|
|
140
|
+
|
|
141
|
+
<li class="public ">
|
|
142
|
+
<span class="summary_signature">
|
|
143
|
+
|
|
144
|
+
<a href="#ajoutCss-instance_method" title="#ajoutCss (instance method)">#<strong>ajoutCss</strong> ⇒ Object </a>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
</span>
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
<span class="summary_desc"><div class='inline'>
|
|
159
|
+
<p>Ajoute les classes css au widget.</p>
|
|
160
|
+
</div></span>
|
|
161
|
+
|
|
162
|
+
</li>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<li class="public ">
|
|
166
|
+
<span class="summary_signature">
|
|
167
|
+
|
|
168
|
+
<a href="#creerBoxTop-instance_method" title="#creerBoxTop (instance method)">#<strong>creerBoxTop</strong> ⇒ Object </a>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
</span>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
<span class="summary_desc"><div class='inline'>
|
|
183
|
+
<p>Créer la box verticale contenant les boutons des choix de la difficulté et
|
|
184
|
+
le titre.</p>
|
|
185
|
+
</div></span>
|
|
186
|
+
|
|
187
|
+
</li>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<li class="public ">
|
|
191
|
+
<span class="summary_signature">
|
|
192
|
+
|
|
193
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ FenetreNiveau </a>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
</span>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
<span class="note title constructor">constructor</span>
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<span class="summary_desc"><div class='inline'>
|
|
210
|
+
<p>Initialize.</p>
|
|
211
|
+
</div></span>
|
|
212
|
+
|
|
213
|
+
</li>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
<li class="public ">
|
|
217
|
+
<span class="summary_signature">
|
|
218
|
+
|
|
219
|
+
<a href="#miseEnPlace-instance_method" title="#miseEnPlace (instance method)">#<strong>miseEnPlace</strong> ⇒ Object </a>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
</span>
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
<span class="summary_desc"><div class='inline'>
|
|
234
|
+
<p>Permet de créer et d'ajouter les box au conteneur principal.</p>
|
|
235
|
+
</div></span>
|
|
236
|
+
|
|
237
|
+
</li>
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
<li class="public ">
|
|
241
|
+
<span class="summary_signature">
|
|
242
|
+
|
|
243
|
+
<a href="#run-instance_method" title="#run (instance method)">#<strong>run</strong> ⇒ Object </a>
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
</span>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
<span class="summary_desc"><div class='inline'>
|
|
258
|
+
<p>Lance la construction du modèle de la vue.</p>
|
|
259
|
+
</div></span>
|
|
260
|
+
|
|
261
|
+
</li>
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
</ul>
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="View.html" title="View (class)">View</a></span></h3>
|
|
277
|
+
<p class="inherited"><span class='object_link'><a href="View.html#inherited-class_method" title="View.inherited (method)">inherited</a></span>, <span class='object_link'><a href="View.html#setInstanceVars-instance_method" title="View#setInstanceVars (method)">#setInstanceVars</a></span></p>
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Fenetre.html" title="Fenetre (module)">Fenetre</a></span></h3>
|
|
288
|
+
<p class="inherited"><span class='object_link'><a href="Fenetre.html#appliquerStyle-class_method" title="Fenetre.appliquerStyle (method)">appliquerStyle</a></span>, <span class='object_link'><a href="Fenetre.html#boutonAnnuler_barre-class_method" title="Fenetre.boutonAnnuler_barre (method)">boutonAnnuler_barre</a></span>, <span class='object_link'><a href="Fenetre.html#boutonMenu_barre-class_method" title="Fenetre.boutonMenu_barre (method)">boutonMenu_barre</a></span>, <span class='object_link'><a href="Fenetre.html#boutonPauseChrono_barre-class_method" title="Fenetre.boutonPauseChrono_barre (method)">boutonPauseChrono_barre</a></span>, <span class='object_link'><a href="Fenetre.html#boutonPlayChrono_barre-class_method" title="Fenetre.boutonPlayChrono_barre (method)">boutonPlayChrono_barre</a></span>, <span class='object_link'><a href="Fenetre.html#boutonQuitter_barre-class_method" title="Fenetre.boutonQuitter_barre (method)">boutonQuitter_barre</a></span>, <span class='object_link'><a href="Fenetre.html#boutonReinit_barre-class_method" title="Fenetre.boutonReinit_barre (method)">boutonReinit_barre</a></span>, <span class='object_link'><a href="Fenetre.html#boutonRetablir_barre-class_method" title="Fenetre.boutonRetablir_barre (method)">boutonRetablir_barre</a></span>, <span class='object_link'><a href="Fenetre.html#boutonRetour-class_method" title="Fenetre.boutonRetour (method)">boutonRetour</a></span>, <span class='object_link'><a href="Fenetre.html#boutonSauvegarder_barre-class_method" title="Fenetre.boutonSauvegarder_barre (method)">boutonSauvegarder_barre</a></span>, <span class='object_link'><a href="Fenetre.html#box-class_method" title="Fenetre.box (method)">box</a></span>, <span class='object_link'><a href="Fenetre.html#creerBarreMenu-class_method" title="Fenetre.creerBarreMenu (method)">creerBarreMenu</a></span>, <span class='object_link'><a href="Fenetre.html#creerBoxBottom-class_method" title="Fenetre.creerBoxBottom (method)">creerBoxBottom</a></span>, <span class='object_link'><a href="Fenetre.html#creerLabelType-class_method" title="Fenetre.creerLabelType (method)">creerLabelType</a></span>, <span class='object_link'><a href="Fenetre.html#creerPopup-class_method" title="Fenetre.creerPopup (method)">creerPopup</a></span>, <span class='object_link'><a href="Fenetre.html#css-class_method" title="Fenetre.css (method)">css</a></span>, <span class='object_link'><a href="Fenetre.html#detruire-class_method" title="Fenetre.detruire (method)">detruire</a></span>, <span class='object_link'><a href="Fenetre.html#enteteFenetre-class_method" title="Fenetre.enteteFenetre (method)">enteteFenetre</a></span>, <span class='object_link'><a href="Fenetre.html#fenetre-class_method" title="Fenetre.fenetre (method)">fenetre</a></span>, <span class='object_link'><a href="Fenetre.html#fenetrePrecedente-class_method" title="Fenetre.fenetrePrecedente (method)">fenetrePrecedente</a></span>, <span class='object_link'><a href="Fenetre.html#fenetrePrecedente=-class_method" title="Fenetre.fenetrePrecedente= (method)">fenetrePrecedente=</a></span>, <span class='object_link'><a href="Fenetre.html#fenetreStyle-class_method" title="Fenetre.fenetreStyle (method)">fenetreStyle</a></span>, <span class='object_link'><a href="Fenetre.html#viderFenetre-class_method" title="Fenetre.viderFenetre (method)">viderFenetre</a></span></p>
|
|
289
|
+
<div id="constructor_details" class="method_details_list">
|
|
290
|
+
<h2>Constructor Details</h2>
|
|
291
|
+
|
|
292
|
+
<div class="method_details first">
|
|
293
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
294
|
+
|
|
295
|
+
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="FenetreNiveau (class)">FenetreNiveau</a></span></tt>
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
</h3><div class="docstring">
|
|
302
|
+
<div class="discussion">
|
|
303
|
+
|
|
304
|
+
<p>Initialize</p>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
</div>
|
|
308
|
+
</div>
|
|
309
|
+
<div class="tags">
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
</div><table class="source_code">
|
|
313
|
+
<tr>
|
|
314
|
+
<td>
|
|
315
|
+
<pre class="lines">
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
25
|
|
319
|
+
26
|
|
320
|
+
27
|
|
321
|
+
28
|
|
322
|
+
29
|
|
323
|
+
30
|
|
324
|
+
31
|
|
325
|
+
32
|
|
326
|
+
33
|
|
327
|
+
34
|
|
328
|
+
35</pre>
|
|
329
|
+
</td>
|
|
330
|
+
<td>
|
|
331
|
+
<pre class="code"><span class="info file"># File 'app/view/FenetreNiveau.rb', line 25</span>
|
|
332
|
+
|
|
333
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
334
|
+
<span class='comment'># VI box
|
|
335
|
+
</span> <span class='ivar'>@boxTop</span> <span class='op'>=</span> <span class='const'>Gtk</span><span class='op'>::</span><span class='const'>Box</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:vertical</span><span class='comma'>,</span><span class='int'>0</span><span class='rparen'>)</span>
|
|
336
|
+
<span class='ivar'>@boxBottom</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Fenetre.html" title="Fenetre (module)">Fenetre</a></span></span><span class='op'>::</span><span class='id identifier rubyid_creerBoxBottom'><span class='object_link'><a href="Fenetre.html#creerBoxBottom-class_method" title="Fenetre.creerBoxBottom (method)">creerBoxBottom</a></span></span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
337
|
+
<span class='comment'># VI bouton
|
|
338
|
+
</span> <span class='ivar'>@boutonFacile</span> <span class='op'>=</span> <span class='const'>Gtk</span><span class='op'>::</span><span class='const'>Button</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:label</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Facile</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
339
|
+
<span class='ivar'>@boutonMoyen</span> <span class='op'>=</span> <span class='const'>Gtk</span><span class='op'>::</span><span class='const'>Button</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:label</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Moyen</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
340
|
+
<span class='ivar'>@boutonDifficile</span> <span class='op'>=</span> <span class='const'>Gtk</span><span class='op'>::</span><span class='const'>Button</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:label</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Difficile</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
341
|
+
<span class='comment'># VI label
|
|
342
|
+
</span> <span class='ivar'>@titreLabel</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Fenetre.html" title="Fenetre (module)">Fenetre</a></span></span><span class='op'>::</span><span class='id identifier rubyid_creerLabelType'><span class='object_link'><a href="Fenetre.html#creerLabelType-class_method" title="Fenetre.creerLabelType (method)">creerLabelType</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'><u>Choix difficulté</u></span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="Fenetre.html" title="Fenetre (module)">Fenetre</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Fenetre.html#SIZE_TITRE-constant" title="Fenetre::SIZE_TITRE (constant)">SIZE_TITRE</a></span></span><span class='rparen'>)</span>
|
|
343
|
+
<span class='kw'>end</span></pre>
|
|
344
|
+
</td>
|
|
345
|
+
</tr>
|
|
346
|
+
</table>
|
|
347
|
+
</div>
|
|
348
|
+
|
|
349
|
+
</div>
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
<div id="instance_method_details" class="method_details_list">
|
|
353
|
+
<h2>Instance Method Details</h2>
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
<div class="method_details first">
|
|
357
|
+
<h3 class="signature first" id="ajoutCss-instance_method">
|
|
358
|
+
|
|
359
|
+
#<strong>ajoutCss</strong> ⇒ <tt>Object</tt>
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
</h3><div class="docstring">
|
|
366
|
+
<div class="discussion">
|
|
367
|
+
|
|
368
|
+
<p>Ajoute les classes css au widget</p>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
</div>
|
|
372
|
+
</div>
|
|
373
|
+
<div class="tags">
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
</div><table class="source_code">
|
|
377
|
+
<tr>
|
|
378
|
+
<td>
|
|
379
|
+
<pre class="lines">
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
79
|
|
383
|
+
80
|
|
384
|
+
81
|
|
385
|
+
82
|
|
386
|
+
83
|
|
387
|
+
84
|
|
388
|
+
85
|
|
389
|
+
86
|
|
390
|
+
87
|
|
391
|
+
88
|
|
392
|
+
89
|
|
393
|
+
90
|
|
394
|
+
91
|
|
395
|
+
92
|
|
396
|
+
93
|
|
397
|
+
94</pre>
|
|
398
|
+
</td>
|
|
399
|
+
<td>
|
|
400
|
+
<pre class="code"><span class="info file"># File 'app/view/FenetreNiveau.rb', line 79</span>
|
|
401
|
+
|
|
402
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_ajoutCss'>ajoutCss</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
403
|
+
<span class='comment'>#css label
|
|
404
|
+
</span> <span class='ivar'>@titreLabel</span><span class='period'>.</span><span class='id identifier rubyid_override_color'>override_color</span><span class='lparen'>(</span><span class='symbol'>:normal</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="Fenetre.html" title="Fenetre (module)">Fenetre</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Fenetre.html#COULEUR_BLANC-constant" title="Fenetre::COULEUR_BLANC (constant)">COULEUR_BLANC</a></span></span><span class='rparen'>)</span>
|
|
405
|
+
<span class='ivar'>@titreLabel</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_top'>set_margin_top</span><span class='lparen'>(</span><span class='int'>30</span><span class='rparen'>)</span>
|
|
406
|
+
<span class='comment'>#css bouton
|
|
407
|
+
</span> <span class='ivar'>@boutonFacile</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_top'>set_margin_top</span><span class='lparen'>(</span><span class='int'>70</span><span class='rparen'>)</span>
|
|
408
|
+
<span class='ivar'>@boutonFacile</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_bottom'>set_margin_bottom</span><span class='lparen'>(</span><span class='int'>40</span><span class='rparen'>)</span>
|
|
409
|
+
<span class='ivar'>@boutonFacile</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_left'>set_margin_left</span><span class='lparen'>(</span><span class='int'>100</span><span class='rparen'>)</span>
|
|
410
|
+
<span class='ivar'>@boutonFacile</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_right'>set_margin_right</span><span class='lparen'>(</span><span class='int'>100</span><span class='rparen'>)</span>
|
|
411
|
+
<span class='ivar'>@boutonMoyen</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_bottom'>set_margin_bottom</span><span class='lparen'>(</span><span class='int'>40</span><span class='rparen'>)</span>
|
|
412
|
+
<span class='ivar'>@boutonMoyen</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_left'>set_margin_left</span><span class='lparen'>(</span><span class='int'>100</span><span class='rparen'>)</span>
|
|
413
|
+
<span class='ivar'>@boutonMoyen</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_right'>set_margin_right</span><span class='lparen'>(</span><span class='int'>100</span><span class='rparen'>)</span>
|
|
414
|
+
<span class='ivar'>@boutonDifficile</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_bottom'>set_margin_bottom</span><span class='lparen'>(</span><span class='int'>40</span><span class='rparen'>)</span>
|
|
415
|
+
<span class='ivar'>@boutonDifficile</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_left'>set_margin_left</span><span class='lparen'>(</span><span class='int'>100</span><span class='rparen'>)</span>
|
|
416
|
+
<span class='ivar'>@boutonDifficile</span><span class='period'>.</span><span class='id identifier rubyid_set_margin_right'>set_margin_right</span><span class='lparen'>(</span><span class='int'>100</span><span class='rparen'>)</span>
|
|
417
|
+
<span class='kw'>end</span></pre>
|
|
418
|
+
</td>
|
|
419
|
+
</tr>
|
|
420
|
+
</table>
|
|
421
|
+
</div>
|
|
422
|
+
|
|
423
|
+
<div class="method_details ">
|
|
424
|
+
<h3 class="signature " id="creerBoxTop-instance_method">
|
|
425
|
+
|
|
426
|
+
#<strong>creerBoxTop</strong> ⇒ <tt>Object</tt>
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
</h3><div class="docstring">
|
|
433
|
+
<div class="discussion">
|
|
434
|
+
|
|
435
|
+
<p>Créer la box verticale contenant les boutons des choix de la difficulté et
|
|
436
|
+
le titre</p>
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
</div>
|
|
440
|
+
</div>
|
|
441
|
+
<div class="tags">
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
</div><table class="source_code">
|
|
445
|
+
<tr>
|
|
446
|
+
<td>
|
|
447
|
+
<pre class="lines">
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
52
|
|
451
|
+
53
|
|
452
|
+
54
|
|
453
|
+
55
|
|
454
|
+
56
|
|
455
|
+
57
|
|
456
|
+
58
|
|
457
|
+
59
|
|
458
|
+
60
|
|
459
|
+
61
|
|
460
|
+
62
|
|
461
|
+
63
|
|
462
|
+
64
|
|
463
|
+
65
|
|
464
|
+
66
|
|
465
|
+
67
|
|
466
|
+
68
|
|
467
|
+
69
|
|
468
|
+
70
|
|
469
|
+
71
|
|
470
|
+
72
|
|
471
|
+
73
|
|
472
|
+
74</pre>
|
|
473
|
+
</td>
|
|
474
|
+
<td>
|
|
475
|
+
<pre class="code"><span class="info file"># File 'app/view/FenetreNiveau.rb', line 52</span>
|
|
476
|
+
|
|
477
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_creerBoxTop'>creerBoxTop</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
478
|
+
<span class='comment'>#Action des boutons
|
|
479
|
+
</span> <span class='ivar'>@boutonFacile</span><span class='period'>.</span><span class='id identifier rubyid_signal_connect'>signal_connect</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>clicked</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='lbrace'>{</span>
|
|
480
|
+
<span class='id identifier rubyid_supprimerPartieExistante'>supprimerPartieExistante</span><span class='lparen'>(</span><span class='ivar'>@pseudo</span><span class='rparen'>)</span>
|
|
481
|
+
<span class='const'><span class='object_link'><a href="Core.html" title="Core (module)">Core</a></span></span><span class='op'>::</span><span class='id identifier rubyid_changeTo'><span class='object_link'><a href="Core.html#changeTo-class_method" title="Core.changeTo (method)">changeTo</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>JeuLibre</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pseudo</span><span class='label_end'>":</span> <span class='ivar'>@pseudo</span><span class='comma'>,</span> <span class='symbol'>:difficulte</span><span class='op'>=></span><span class='const'><span class='object_link'><a href="Jeu.html" title="Jeu (class)">Jeu</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Jeu.html#FACILE-constant" title="Jeu::FACILE (constant)">FACILE</a></span></span><span class='rparen'>)</span>
|
|
482
|
+
<span class='rbrace'>}</span>
|
|
483
|
+
|
|
484
|
+
<span class='ivar'>@boutonMoyen</span><span class='period'>.</span><span class='id identifier rubyid_signal_connect'>signal_connect</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>clicked</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='lbrace'>{</span>
|
|
485
|
+
<span class='id identifier rubyid_supprimerPartieExistante'>supprimerPartieExistante</span><span class='lparen'>(</span><span class='ivar'>@pseudo</span><span class='rparen'>)</span>
|
|
486
|
+
<span class='const'><span class='object_link'><a href="Core.html" title="Core (module)">Core</a></span></span><span class='op'>::</span><span class='id identifier rubyid_changeTo'><span class='object_link'><a href="Core.html#changeTo-class_method" title="Core.changeTo (method)">changeTo</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>JeuLibre</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pseudo</span><span class='label_end'>":</span> <span class='ivar'>@pseudo</span><span class='comma'>,</span> <span class='symbol'>:difficulte</span><span class='op'>=></span><span class='const'><span class='object_link'><a href="Jeu.html" title="Jeu (class)">Jeu</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Jeu.html#MOYEN-constant" title="Jeu::MOYEN (constant)">MOYEN</a></span></span><span class='rparen'>)</span>
|
|
487
|
+
<span class='rbrace'>}</span>
|
|
488
|
+
|
|
489
|
+
<span class='ivar'>@boutonDifficile</span><span class='period'>.</span><span class='id identifier rubyid_signal_connect'>signal_connect</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>clicked</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='lbrace'>{</span>
|
|
490
|
+
<span class='id identifier rubyid_supprimerPartieExistante'>supprimerPartieExistante</span><span class='lparen'>(</span><span class='ivar'>@pseudo</span><span class='rparen'>)</span>
|
|
491
|
+
<span class='const'><span class='object_link'><a href="Core.html" title="Core (module)">Core</a></span></span><span class='op'>::</span><span class='id identifier rubyid_changeTo'><span class='object_link'><a href="Core.html#changeTo-class_method" title="Core.changeTo (method)">changeTo</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>JeuLibre</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pseudo</span><span class='label_end'>":</span> <span class='ivar'>@pseudo</span><span class='comma'>,</span> <span class='symbol'>:difficulte</span><span class='op'>=></span><span class='const'><span class='object_link'><a href="Jeu.html" title="Jeu (class)">Jeu</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Jeu.html#DIFFICILE-constant" title="Jeu::DIFFICILE (constant)">DIFFICILE</a></span></span><span class='rparen'>)</span>
|
|
492
|
+
<span class='rbrace'>}</span>
|
|
493
|
+
|
|
494
|
+
<span class='comment'>#add des boutons à la box
|
|
495
|
+
</span> <span class='ivar'>@boxTop</span><span class='period'>.</span><span class='id identifier rubyid_add'>add</span><span class='lparen'>(</span><span class='ivar'>@titreLabel</span><span class='rparen'>)</span>
|
|
496
|
+
<span class='ivar'>@boxTop</span><span class='period'>.</span><span class='id identifier rubyid_add'>add</span><span class='lparen'>(</span><span class='ivar'>@boutonFacile</span><span class='rparen'>)</span>
|
|
497
|
+
<span class='ivar'>@boxTop</span><span class='period'>.</span><span class='id identifier rubyid_add'>add</span><span class='lparen'>(</span><span class='ivar'>@boutonMoyen</span><span class='rparen'>)</span>
|
|
498
|
+
<span class='ivar'>@boxTop</span><span class='period'>.</span><span class='id identifier rubyid_add'>add</span><span class='lparen'>(</span><span class='ivar'>@boutonDifficile</span><span class='rparen'>)</span>
|
|
499
|
+
<span class='kw'>end</span></pre>
|
|
500
|
+
</td>
|
|
501
|
+
</tr>
|
|
502
|
+
</table>
|
|
503
|
+
</div>
|
|
504
|
+
|
|
505
|
+
<div class="method_details ">
|
|
506
|
+
<h3 class="signature " id="miseEnPlace-instance_method">
|
|
507
|
+
|
|
508
|
+
#<strong>miseEnPlace</strong> ⇒ <tt>Object</tt>
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
</h3><div class="docstring">
|
|
515
|
+
<div class="discussion">
|
|
516
|
+
|
|
517
|
+
<p>Permet de créer et d'ajouter les box au conteneur principal</p>
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
</div>
|
|
521
|
+
</div>
|
|
522
|
+
<div class="tags">
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
</div><table class="source_code">
|
|
526
|
+
<tr>
|
|
527
|
+
<td>
|
|
528
|
+
<pre class="lines">
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
41
|
|
532
|
+
42
|
|
533
|
+
43
|
|
534
|
+
44
|
|
535
|
+
45
|
|
536
|
+
46</pre>
|
|
537
|
+
</td>
|
|
538
|
+
<td>
|
|
539
|
+
<pre class="code"><span class="info file"># File 'app/view/FenetreNiveau.rb', line 41</span>
|
|
540
|
+
|
|
541
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_miseEnPlace'>miseEnPlace</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
542
|
+
<span class='id identifier rubyid_creerBoxTop'>creerBoxTop</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
543
|
+
<span class='id identifier rubyid_ajoutCss'>ajoutCss</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
544
|
+
<span class='const'><span class='object_link'><a href="Fenetre.html" title="Fenetre (module)">Fenetre</a></span></span><span class='op'>::</span><span class='id identifier rubyid_box'><span class='object_link'><a href="Fenetre.html#box-class_method" title="Fenetre.box (method)">box</a></span></span><span class='period'>.</span><span class='id identifier rubyid_add'>add</span><span class='lparen'>(</span><span class='ivar'>@boxTop</span><span class='rparen'>)</span>
|
|
545
|
+
<span class='const'><span class='object_link'><a href="Fenetre.html" title="Fenetre (module)">Fenetre</a></span></span><span class='op'>::</span><span class='id identifier rubyid_box'><span class='object_link'><a href="Fenetre.html#box-class_method" title="Fenetre.box (method)">box</a></span></span><span class='period'>.</span><span class='id identifier rubyid_add'>add</span><span class='lparen'>(</span><span class='ivar'>@boxBottom</span><span class='rparen'>)</span>
|
|
546
|
+
<span class='kw'>end</span></pre>
|
|
547
|
+
</td>
|
|
548
|
+
</tr>
|
|
549
|
+
</table>
|
|
550
|
+
</div>
|
|
551
|
+
|
|
552
|
+
<div class="method_details ">
|
|
553
|
+
<h3 class="signature " id="run-instance_method">
|
|
554
|
+
|
|
555
|
+
#<strong>run</strong> ⇒ <tt>Object</tt>
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
</h3><div class="docstring">
|
|
562
|
+
<div class="discussion">
|
|
563
|
+
|
|
564
|
+
<p>Lance la construction du modèle de la vue. Méthode à définir dans tout les
|
|
565
|
+
cas ! Autrement pas de rendu de la page.</p>
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
</div>
|
|
569
|
+
</div>
|
|
570
|
+
<div class="tags">
|
|
571
|
+
|
|
572
|
+
<p class="tag_title">Returns:</p>
|
|
573
|
+
<ul class="return">
|
|
574
|
+
|
|
575
|
+
<li>
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
<span class='type'></span>
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
<div class='inline'>
|
|
584
|
+
<p>self</p>
|
|
585
|
+
</div>
|
|
586
|
+
|
|
587
|
+
</li>
|
|
588
|
+
|
|
589
|
+
</ul>
|
|
590
|
+
|
|
591
|
+
</div><table class="source_code">
|
|
592
|
+
<tr>
|
|
593
|
+
<td>
|
|
594
|
+
<pre class="lines">
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
101
|
|
598
|
+
102
|
|
599
|
+
103
|
|
600
|
+
104</pre>
|
|
601
|
+
</td>
|
|
602
|
+
<td>
|
|
603
|
+
<pre class="code"><span class="info file"># File 'app/view/FenetreNiveau.rb', line 101</span>
|
|
604
|
+
|
|
605
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
606
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_miseEnPlace'>miseEnPlace</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
607
|
+
<span class='kw'>return</span> <span class='kw'>self</span>
|
|
608
|
+
<span class='kw'>end</span></pre>
|
|
609
|
+
</td>
|
|
610
|
+
</tr>
|
|
611
|
+
</table>
|
|
612
|
+
</div>
|
|
613
|
+
|
|
614
|
+
</div>
|
|
615
|
+
|
|
616
|
+
</div>
|
|
617
|
+
|
|
618
|
+
<div id="footer">
|
|
619
|
+
Generated on Sat Apr 22 22:47:31 2017 by
|
|
620
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
621
|
+
0.9.8 (ruby-2.3.3).
|
|
622
|
+
</div>
|
|
623
|
+
|
|
624
|
+
</div>
|
|
625
|
+
</body>
|
|
626
|
+
</html>
|