-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.h
39 lines (32 loc) · 859 Bytes
/
menu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#ifndef MENU_H_INCLUDED
#define MENU_H_INCLUDED
const int DISPLAY = 1,
COMPOROUGE = 2,
NIVGRIS = 3,
NOIRBLANC = 4,
LUMI = 5,
CONTRA = 6,
ROGNER = 7,
ROTA = 8,
RETOURNEMENT = 10,
TAILLE = 11,
FILTRES = 12,
QUIT = 13;
bool validChoice(const int& choice); // validChoice
// validChoice v2 (pour les sous-menus)
bool validChoice(const int& choice, const int& start, const int& end);
string saisieFichier(); // saisieFichier
int menu(); // menu
int menuLUMI(); // menu luminosite
int menuCONTRA(); // menu contraste
int menuROGNER(); // menu rognement
int menuROTA(); // menu rotation
int menuRETOURNE(); // menu retournement
int menuTAILLE(); // menu taille
int menuFILTRES(); // menu filtres
#endif // MENU_H_INCLUDED