Skip to main content.

Public Enumerations

Enums for slightly clearer function calling.

winprops_enum

Definition

    namespace winprops
    {
  • enum winprops_enum
    {
    • fullscreen = 0,
    • windowed,
    • noinitogl,
    • initogl
    };
  • }

Other Details / Notes

  • The Enum is wrapped in a namespace to make it more explicate as to what you are requesting as enums are anonymous to an extent (i.e. you cant do winprops_enum::fullscreen). This is the reason for the winprop_t typedef.

winmsgs_enum

Definition

    namespace winmsgs
    {
  • enum winmsgs_enum
    {
    • quitmsg = 0,
    • closemsg,
    • destroymsg,
    • resizemsg
    };
  • }

Other Details / Notes

  • The Enum is wrapped in a namespace to make it more explicate as to what you are requesting as enums are anonymous to an extent (i.e. you cant do winmsgs_enum::closemsg). This is the reason for the winmsg_t typedef.

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