Sideway
output.to from Sideway
Draft for Information Only

Content

  Window Functions (Window Management)
 Sources and References

Window Functions (Window Management)

  1. Window Functions
    GLUT supports two types of windows: top-level windows and subwindows. Both types support OpenGL ren- dering and GLUT callbacks. There is a single identifier space for both types of windows.s
    1. glutCreateWindow (OpenGL GLUT 3.0)
      glutCreateWindow creates a top-level window.
      • Usage
        int glutCreateWindow(char *name);
        • name
          ASCII character string for use as window name.
      • Description
             glutCreateWindow creates a top-level window. The name will be provided to the window system as the window’s name. The intent is that the window system will label the window with the name.
             Implicitly, the current window is set to the newly created window.
             Each created window has a unique associated OpenGL context. State changes to a window’s associated OpenGL context can be done immediately after the window is created.
             The display state of a window is initially for the window to be shown. But the window’s display state is not actually acted upon until glutMainLoop is entered. This means until glutMainLoop is called, rendering to a created window is ineffective because the window can not yet be displayed.
             The value returned is a unique small integer identifier for the window. The range of allocated identifiers starts at one. This window identifier can be used when calling glutSetWindow.
      • X Implementation Notes
        The proper X Inter-Client Communication Conventions Manual (ICCCM) top-level properties are established. The WM COMMAND property that lists the command line used to invoke the GLUT program is only established for the first window created.
    2. glutCreateSubWindow (OpenGL GLUT 3.0)
    3. glutSetWindow, glutGetWindow (OpenGL GLUT 3.0)
    4. glutDestroyWindow (OpenGL GLUT 3.0)
    5. glutPositionWindow (OpenGL GLUT 3.0)
    6. glutReshapeWindow (OpenGL GLUT 3.0)
    7. glutFullScreen (OpenGL GLUT 3.0 Only)
    8. glutFullScreen, glutLeaveFullScreen, glutFullScreenToggle
    9. glutPopWindow, glutPushWindow (OpenGL GLUT 3.0)
    10. glutShowWindow, glutHideWindow, glutIconifyWindow (OpenGL GLUT 3.0)
    11. glutSetWindowTitle, glutSetIconTitle (OpenGL GLUT 3.0)
  2. Display Functions
    1. glutPostRedisplay (OpenGL GLUT 3.0)
    2. glutPostWindowRedisplay
    3. glutSwapBuffers (OpenGL GLUT 3.0 Only)
  3. Mouse Cursor Functions
    1. glutSetCursor (OpenGL GLUT 3.0 Only)
    2. glutWarpPointer

Sources and References


©sideway

ID: 250102702 Last Updated: 1/27/2025 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Travel 18

Reference 79

Computer

Hardware 254

Software

Application 213

Digitization 37

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019