minor const fix
This commit is contained in:
parent
5506c3b33b
commit
c613bf584b
1 changed files with 3 additions and 3 deletions
|
@ -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,7 +58,7 @@ 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 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; }
|
||||
|
|
Loading…
Reference in a new issue