-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Florent Mariotti
committed
Feb 26, 2025
1 parent
80ed91d
commit d6199a5
Showing
6 changed files
with
63 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 31 additions & 31 deletions
62
...neto/core/constants/MagnetoConstants.java → ...cgi/magneto/core/constants/Slideshow.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
package fr.cgi.magneto.core.constants; | ||
|
||
public class MagnetoConstants { | ||
// Constantes de mise en page générales | ||
public static final int MARGIN_LEFT = 140; | ||
public static final int MARGIN_TOP_TITLE = 40; | ||
public static final int WIDTH = 1000; | ||
|
||
// Constantes pour les titres | ||
public static final int TITLE_HEIGHT = 70; | ||
public static final Double TITLE_FONT_SIZE = 44.0; | ||
public static final int MAIN_TITLE_HEIGHT = 100; | ||
public static final Double MAIN_TITLE_FONT_SIZE = 100.0; | ||
|
||
// Constantes pour les légendes | ||
public static final int LEGEND_HEIGHT = 70; | ||
public static final int LEGEND_MARGIN_BOTTOM = 20; | ||
public static final Double LEGEND_FONT_SIZE = 16.0; | ||
public static final String LEGEND_FONT_FAMILY = "Roboto"; | ||
|
||
// Constantes pour le contenu | ||
public static final int CONTENT_HEIGHT = 520; | ||
public static final int CONTENT_MARGIN_TOP = 140; | ||
public static final int MAIN_CONTENT_MARGIN_TOP = 300; | ||
public static final Double CONTENT_FONT_SIZE = 36.0; | ||
|
||
// Constantes pour les images | ||
public static final int MAIN_IMAGE_CONTENT_HEIGHT = 400; | ||
public static final int IMAGE_CONTENT_HEIGHT = 480; | ||
|
||
} | ||
package fr.cgi.magneto.core.constants; | ||
|
||
public class Slideshow { | ||
// Constantes de mise en page générales | ||
public static final int MARGIN_LEFT = 140; | ||
public static final int MARGIN_TOP_TITLE = 40; | ||
public static final int WIDTH = 1000; | ||
|
||
// Constantes pour les titres | ||
public static final int TITLE_HEIGHT = 70; | ||
public static final Double TITLE_FONT_SIZE = 44.0; | ||
public static final int MAIN_TITLE_HEIGHT = 100; | ||
public static final Double MAIN_TITLE_FONT_SIZE = 100.0; | ||
|
||
// Constantes pour les légendes | ||
public static final int LEGEND_HEIGHT = 70; | ||
public static final int LEGEND_MARGIN_BOTTOM = 20; | ||
public static final Double LEGEND_FONT_SIZE = 16.0; | ||
public static final String LEGEND_FONT_FAMILY = "Roboto"; | ||
|
||
// Constantes pour le contenu | ||
public static final int CONTENT_HEIGHT = 520; | ||
public static final int CONTENT_MARGIN_TOP = 140; | ||
public static final int MAIN_CONTENT_MARGIN_TOP = 300; | ||
public static final Double CONTENT_FONT_SIZE = 36.0; | ||
|
||
// Constantes pour les images | ||
public static final int MAIN_IMAGE_CONTENT_HEIGHT = 400; | ||
public static final int IMAGE_CONTENT_HEIGHT = 480; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters