-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainViewController.h
More file actions
91 lines (74 loc) · 2.43 KB
/
MainViewController.h
File metadata and controls
91 lines (74 loc) · 2.43 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
//
// MainViewController.h
// ColorMixer
//
// Created by Thibault Dardinier on 20/05/11.
// Copyright 2011 Aucune. All rights reserved.
//
#import "FlipsideViewController.h"
#import "Options.h"
#import "math.h"
@interface MainViewController : UIViewController <FlipsideViewControllerDelegate> {
IBOutlet UILabel *haut;
IBOutlet UILabel *milieu;
IBOutlet UILabel *bas;
IBOutlet UILabel *hexa_haut;
IBOutlet UILabel *hexa_milieu;
IBOutlet UILabel *hexa_bas;
IBOutlet UILabel *R_haut;
IBOutlet UILabel *R_milieu;
IBOutlet UILabel *R_bas;
IBOutlet UILabel *V_haut;
IBOutlet UILabel *V_milieu;
IBOutlet UILabel *V_bas;
IBOutlet UILabel *B_haut;
IBOutlet UILabel *B_milieu;
IBOutlet UILabel *B_bas;
IBOutlet UISlider *Slider_R_haut;
IBOutlet UISlider *Slider_V_haut;
IBOutlet UISlider *Slider_B_haut;
IBOutlet UISlider *Slider_R_milieu;
IBOutlet UISlider *Slider_V_milieu;
IBOutlet UISlider *Slider_B_milieu;
IBOutlet UISlider *proportion;
IBOutlet UILabel *Prop_1;
IBOutlet UILabel *Prop_2;
IBOutlet UIButton *colorimetre;
IBOutlet UIButton *alea_haut;
IBOutlet UIButton *alea_milieu;
IBOutlet UILabel *Lettre_R_haut;
IBOutlet UILabel *Lettre_V_haut;
IBOutlet UILabel *Lettre_B_haut;
IBOutlet UILabel *Lettre_R_milieu;
IBOutlet UILabel *Lettre_V_milieu;
IBOutlet UILabel *Lettre_B_milieu;
IBOutlet UILabel *Lettre_R_bas;
IBOutlet UILabel *Lettre_V_bas;
IBOutlet UILabel *Lettre_B_bas;
IBOutlet UIWebView *collect_stats;
IBOutlet UILabel *barriere;
IBOutlet UILabel *blanc_1;
IBOutlet UILabel *blanc_2;
IBOutlet UILabel *P3_1;
IBOutlet UILabel *P3_2;
IBOutlet UILabel *P1;
IBOutlet UILabel *P2;
IBOutlet UILabel *Ex_1_1;
IBOutlet UILabel *Ex_1_2;
IBOutlet UILabel *Ex_2_1;
IBOutlet UILabel *Ex_2_2;
IBOutlet UILabel *Ex_3_1;
IBOutlet UILabel *Ex_3_2;
IBOutlet UIButton *bouton_close;
IBOutlet UIButton *bouton_aide;
}
void RGBtoHSV( int r, int g, int b, float *h, float *s, float *v );
void HSVtoRGB( int *r, int *g, int *b, float h, float s, float v );
- (IBAction)afficher_aide:(id)sender;
- (IBAction)cacher_aide:(id)sender;
- (void)fond:(double)R:(double)V:(double)B:(UILabel*)endroit;
- (IBAction)showInfo:(id)sender;
- (IBAction)aleatoire:(id)sender;
- (IBAction)actualiser:(id)sender;
- (void)actualiseur;
@end