flags.cpp

Go to the documentation of this file.
00001 /*
00002   libwt - Vassilis Virvilis Toolkit - a widget library
00003   Copyright (C) 2006 Vassilis Virvilis <vasvir2@fastmail.fm>
00004  
00005   This library is free software; you can redistribute it and/or
00006   modify it under the terms of the GNU Lesser General Public
00007   License as published by the Free Software Foundation; either
00008   version 2.1 of the License, or (at your option) any later version.
00009   
00010   This library is distributed in the hope that it will be useful,
00011   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013   Lesser General Public License for more details.
00014   
00015   You should have received a copy of the GNU Lesser General Public
00016   License along with this library; if not, write to the
00017   Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018   Boston, MA  02111-1307, SA.
00019 */
00020 
00021 #include <SDL/SDL_video.h>
00022 
00023 #include <wt/flags.h>
00024 
00025 namespace Wt {
00026 
00027 const W::Member W::PaintUnclipped = 1 << 0;
00028 const W::Member W::NoAutoErase = 1 << 1;
00029 const W::Member W::DestructiveClose = 1 << 2;
00030 const W::Member W::ShowModal = 1 << 3;
00031 const W::Member W::Style_Customize = 1 << 4;
00032 const W::Member W::Style_StaysOnTop = 1 << 5;
00033 const W::Member W::Style_NormalBorder = 1 << 6;
00034 const W::Member W::Style_DialogBorder = 1 << 7;
00035 const W::Member W::Style_NoBorder = 1 << 8;
00036 const W::Member W::Style_Title = 1 << 9;
00037 //const W::Member W::Style_SysMenu = 1 << 10;
00038 //const W::Member W::Style_Minimize = 1 << 11;
00039 //const W::Member W::Style_Maximize = 1 << 12;
00040 //const W::Member W::Style_MinMax = 1 << 13;
00041 const W::Member W::Style_Dialog = W::Style_Customize |
00042                                   W::Style_Title |
00043                                   W::Style_DialogBorder;
00044 const W::Member W::Type_Dialog = W::Style_Dialog |
00045                                  W::Style_StaysOnTop |
00046                                  W::ShowModal |
00047                                  W::DestructiveClose;
00048 const W::Member W::Type_Popup = W::Style_Customize |
00049                                 W::Style_DialogBorder |
00050                                 W::Style_StaysOnTop;
00051 
00052 const W::Member W::SWSurface = 1 << 14;
00053 const W::Member W::HWSurface = 1 << 15;
00054 const W::Member W::AsyncBlit = 1 << 16;
00055 const W::Member W::HWPalette = 1 << 17;
00056 const W::Member W::HWAccel = 1 << 18;
00057 const W::Member W::DefaultPixmapFlags = W::SWSurface;
00058 const W::Member W::PixmapMask = W::SWSurface |
00059                                 W::HWSurface |
00060                                 W::AsyncBlit |
00061                                 W::HWPalette |
00062                                 W::HWAccel;
00063 const W::Member W::AnyFormat = 1 << 19;
00064 const W::Member W::DoubleBuffer = 1 << 20;
00065 const W::Member W::FullScreen = 1 << 21;
00066 const W::Member W::OpenGL = 1 << 22;
00067 const W::Member W::OpenGLBlit = 1 << 23;
00068 const W::Member W::Resizable = 1 << 24;
00069 const W::Member W::NoFrame = W::Style_NoBorder;
00070 const W::Member W::DefaultDisplayPixmapFlags = W::DefaultPixmapFlags |
00071         W::AnyFormat |
00072         //W::DoubleBuffer |
00073         //W::FullScreen |
00074         W::Resizable;
00075 const W::Member W::DisplayPixmapMask = W::PixmapMask |
00076                                        W::AnyFormat |
00077                                        W::DoubleBuffer |
00078                                        W::FullScreen |
00079                                        W::OpenGL |
00080                                        W::OpenGLBlit |
00081                                        W::Resizable |
00082                                        W::NoFrame;
00083 }

Generated Fri Jul 28 19:23:00 2006.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.