diff options
author | fluxgen <fluxgen> | 2004-09-11 23:01:34 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-09-11 23:01:34 (GMT) |
commit | 049e40c9eb6e6e8651b171a2a78465398c87f6a1 (patch) | |
tree | 7aef9d57e82336221d6d953617c7a5d53ee95db0 /src/Screen.cc | |
parent | acd2176355876a7bb7afe9d026f9780a3d1c2737 (diff) | |
download | fluxbox_pavel-049e40c9eb6e6e8651b171a2a78465398c87f6a1.zip fluxbox_pavel-049e40c9eb6e6e8651b171a2a78465398c87f6a1.tar.bz2 |
Font::drawText takes reference to FbDrawable instead of X Drawable + some code cleaning
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index e4ede29..4752ed4 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.cc,v 1.290 2004/09/11 13:30:37 fluxgen Exp $ | 25 | // $Id: Screen.cc,v 1.291 2004/09/11 23:01:34 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -1871,7 +1871,7 @@ void BScreen::showPosition(int x, int y) { | |||
1871 | 1871 | ||
1872 | m_pos_window.clear(); | 1872 | m_pos_window.clear(); |
1873 | 1873 | ||
1874 | winFrameTheme().font().drawText(m_pos_window.window(), | 1874 | winFrameTheme().font().drawText(m_pos_window, |
1875 | screenNumber(), | 1875 | screenNumber(), |
1876 | winFrameTheme().labelTextFocusGC(), | 1876 | winFrameTheme().labelTextFocusGC(), |
1877 | label, strlen(label), | 1877 | label, strlen(label), |
@@ -1916,13 +1916,13 @@ void BScreen::showGeometry(unsigned int gx, unsigned int gy) { | |||
1916 | sprintf(label, | 1916 | sprintf(label, |
1917 | _FBTEXT(Screen, GeometryFormat, | 1917 | _FBTEXT(Screen, GeometryFormat, |
1918 | "W: %4d x H: %4d", | 1918 | "W: %4d x H: %4d", |
1919 | "Format for width and height window, %4d for widht, and %4d for height"), | 1919 | "Format for width and height window, %4d for width, and %4d for height"), |
1920 | gx, gy); | 1920 | gx, gy); |
1921 | 1921 | ||
1922 | m_geom_window.clear(); | 1922 | m_geom_window.clear(); |
1923 | 1923 | ||
1924 | //!! TODO: geom window again?! repeated | 1924 | //!! TODO: geom window again?! repeated |
1925 | winFrameTheme().font().drawText(m_geom_window.window(), | 1925 | winFrameTheme().font().drawText(m_geom_window, |
1926 | screenNumber(), | 1926 | screenNumber(), |
1927 | winFrameTheme().labelTextFocusGC(), | 1927 | winFrameTheme().labelTextFocusGC(), |
1928 | label, strlen(label), | 1928 | label, strlen(label), |