Results 1 to 3 of 3

Thread: Typing on the window

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2014
    Posts
    5

    Smile Typing on the window

    Hi ,there.
    I want to type on the window.I know one method is glutBitMapCharater(). But I see one method in my techer's PPT. It is gluBitMapString(T x,T y,"Hello");Then it can show the Hello in the location(x,y). I am wondering how he make it? I am seeking an easy method just like the glutBitMapString...
    Thanks.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117
    I think that is a typo by you teacher - the function is glutBitmapString
    see http://freeglut.sourceforge.net/docs/api.php

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2014
    Posts
    5
    Thanks, I have changed glut.h to freeglut.h.

Similar Threads

  1. Replies: 4
    Last Post: 01-19-2019, 10:45 PM
  2. Window is redrawn inside the OpenGL area instead of the whole window
    By Visual act in forum OpenGL: User Software
    Replies: 0
    Last Post: 09-18-2015, 06:31 AM
  3. An odd shaped Clipped window inside a gl window
    By gearshifter47 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 06-26-2008, 02:54 PM
  4. Attaching a glut window to window's window
    By jowins in forum OpenGL: Windows
    Replies: 2
    Last Post: 11-17-2005, 02:24 AM
  5. overlay a semi-transparent window on an OpenGL window
    By Coconut in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 02-17-2002, 07:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean