summaryrefslogtreecommitdiff
path: root/src/Fl_Device.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-05 13:54:56 +0000
committerManolo Gouy <Manolo>2011-02-05 13:54:56 +0000
commit777ee1b8223d3ae17baf0b26d8fde4d7db5ac119 (patch)
tree7b1a22875da65651eb241c85f732e09a6ab7a2a3 /src/Fl_Device.cxx
parent668dfd109f183ad8c4731f7fb8af39977ea89920 (diff)
Removed global variables fl_font_ and fl_size_ that are now distinct for each graphics device.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Device.cxx')
-rw-r--r--src/Fl_Device.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx
index 790545703..87c2d28ee 100644
--- a/src/Fl_Device.cxx
+++ b/src/Fl_Device.cxx
@@ -54,11 +54,13 @@ void Fl_Surface_Device::set_current(void)
static matrix m0 = {1, 0, 0, 1, 0, 0};
Fl_Graphics_Driver::Fl_Graphics_Driver() {
- sptr=0; rstackptr=0;
- fl_clip_state_number=0;
- m = m0;
- fl_matrix = &m;
- p = (XPOINT *)0;
+ font_ = 0;
+ size_ = 0;
+ sptr=0; rstackptr=0;
+ fl_clip_state_number=0;
+ m = m0;
+ fl_matrix = &m;
+ p = (XPOINT *)0;
};
//