Skip to main content.

Public Structures

These structures provide a way of querying infomation and sending infomation into the window manager.

displaycaps

Definition

    struct displaycaps
    {
  • int Width;
  • int Height;
  • int BitsPerPixel;
  • int RefreshRate;
  • };

Other Details / Notes

  • Todo.

openglcaps

Definition

    struct openglcaps
    {
  • int color;
  • int alpha;
  • int zbuffer;
  • int accum;
  • int stencil;
  • int aasamples;
  • GLboolean samplebuffer;
  • GLboolean doublebuffer;
  • };

Other Details / Notes

  • Todo.

opengldetails

Defination

    struct opengldetails
    {
  • int numTextureUnits;
  • bool SupportGLSL;
  • bool SupportARBVertexProg;
  • bool SupportARBFragProg;
  • GLint AnisofilterLevel;
  • std::string vendor;
  • std::string version;
  • std::string renderer;
  • };

Other Details / Notes

  • Todo.

winmsgdata

Definition

    struct winmsgdata
    {
  • winmsg_t msg;
  • int param1;
  • int param2;
  • };

Other Details / Notes

  • msg holds the message which has been sent
  • The value in param1 and param2 depends on the context of the message. Currently the only message which uses it is the 'resize' one to send the new width and height.

Copyright © 2004, Rob Jones
Home | Site Map | Contact Us | Disclaimer | Privacy Statement