summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-10-16 23:26:41 (GMT)
committerfluxgen <fluxgen>2002-10-16 23:26:41 (GMT)
commitc613bf584b199a7e4373096791ccadf0675f32aa (patch)
tree8cf2779aeeb9fb17dbe9009aace2042e948c6cfd
parent5506c3b33b7d7f556fb14d339fc8ef5adedea28b (diff)
downloadfluxbox_lack-c613bf584b199a7e4373096791ccadf0675f32aa.zip
fluxbox_lack-c613bf584b199a7e4373096791ccadf0675f32aa.tar.bz2
minor const fix
-rw-r--r--src/Font.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Font.hh b/src/Font.hh
index 9de7e7a..b7b9cf2 100644
--- a/src/Font.hh
+++ b/src/Font.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Font.hh,v 1.6 2002/10/15 10:55:30 fluxgen Exp $ 22//$Id: Font.hh,v 1.7 2002/10/16 23:26:41 fluxgen Exp $
23 23
24#ifndef FBTK_FONT_HH 24#ifndef FBTK_FONT_HH
25#define FBTK_FONT_HH 25#define FBTK_FONT_HH
@@ -58,8 +58,8 @@ public:
58 @param size length of text in bytes 58 @param size length of text in bytes
59 @return size of text in pixels 59 @return size of text in pixels
60 */ 60 */
61 unsigned int textWidth(const char *text, unsigned int size) const; 61 unsigned int textWidth(const char * const text, unsigned int size) const;
62 unsigned int height() const; 62 unsigned int height() const;
63 void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const; 63 void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const;
64 bool isAntialias() const { return m_antialias; } 64 bool isAntialias() const { return m_antialias; }
65private: 65private: