Fixes STR #2964.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
e9767cce34
commit
1f06318f9a
@ -32,12 +32,12 @@ class MyData : public Fl_Group {
|
||||
Fl_Input *fields[MAX_FIELDS];
|
||||
public:
|
||||
MyData(int X,int Y,int W,int H) : Fl_Group(X,Y,W,H) {
|
||||
static int colors[MAX_FIELDS] = {
|
||||
static unsigned int colors[MAX_FIELDS] = {
|
||||
0xffffdd00, 0xffdddd00, 0xddffff00, 0xddffdd00, 0xddddff00
|
||||
};
|
||||
for ( int t=0; t<MAX_FIELDS; t++ ) {
|
||||
fields[t] = new Fl_Input(X+t*FIELD_WIDTH,Y,FIELD_WIDTH,H);
|
||||
fields[t]->color(colors[t]);
|
||||
fields[t]->color(Fl_Color(colors[t]));
|
||||
}
|
||||
end();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user