minor const fix

This commit is contained in:
fluxgen 2002-10-16 23:26:41 +00:00
parent 5506c3b33b
commit c613bf584b

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//$Id: Font.hh,v 1.6 2002/10/15 10:55:30 fluxgen Exp $
//$Id: Font.hh,v 1.7 2002/10/16 23:26:41 fluxgen Exp $
#ifndef FBTK_FONT_HH
#define FBTK_FONT_HH
@ -58,8 +58,8 @@ public:
@param size length of text in bytes
@return size of text in pixels
*/
unsigned int textWidth(const char *text, unsigned int size) const;
unsigned int height() const;
unsigned int textWidth(const char * const text, unsigned int size) const;
unsigned int height() const;
void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const;
bool isAntialias() const { return m_antialias; }
private: