Fixed some odd/misleading code indent issues in this file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
5d4fed1ef9
commit
81dfeab19e
@ -135,8 +135,7 @@ static void screen_init() {
|
||||
CGSize s = CGDisplayScreenSize(displays[i]); // from 10.3
|
||||
dpi_h[i] = screens[i].width / (s.width/25.4);
|
||||
dpi_v[i] = screens[i].height / (s.height/25.4);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
dpi_h[i] = dpi_v[i] = 75.;
|
||||
}
|
||||
}
|
||||
@ -153,7 +152,7 @@ typedef struct {
|
||||
short y_org;
|
||||
short width;
|
||||
short height;
|
||||
} FLScreenInfo;
|
||||
} FLScreenInfo;
|
||||
static FLScreenInfo screens[MAX_SCREENS];
|
||||
static float dpi[MAX_SCREENS][2];
|
||||
|
||||
@ -258,8 +257,7 @@ void Fl::screen_work_area(int &X, int &Y, int &W, int &H, int n) {
|
||||
Y = Fl::y();
|
||||
W = Fl::w();
|
||||
H = Fl::h();
|
||||
}
|
||||
else { // for other screens, work area is full screen,
|
||||
} else { // for other screens, work area is full screen,
|
||||
screen_xywh(X, Y, W, H, n);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user