00001 00002 // Copyright (C) 2004-2007 by The Allacrost Project 00003 // All Rights Reserved 00004 // 00005 // This code is licensed under the GNU GPL version 2. It is free software 00006 // and you may modify it and/or redistribute it under the terms of this license. 00007 // See http://www.gnu.org/copyleft/gpl.html for details. 00009 00016 #ifndef __CONTEXT_HEADER__ 00017 #define __CONTEXT_HEADER__ 00018 00019 #include <string> 00020 #include "defs.h" 00021 #include "utils.h" 00022 #include "color.h" 00023 #include "coord_sys.h" 00024 #include "screen_rect.h" 00025 00026 namespace hoa_video { 00027 00028 namespace private_video { 00029 00044 class Context { 00045 public: 00047 int8 blend; 00048 00050 int8 x_align, y_align; 00051 00053 int8 x_flip, y_flip; 00054 00056 CoordSys coordinate_system; 00057 00059 std::string font; 00060 00062 Color text_color; 00063 00065 ScreenRect viewport; 00066 00068 ScreenRect scissor_rectangle; 00069 00071 bool scissoring_enabled; 00072 }; // class Context 00073 00074 } // namespace private_video 00075 00076 } // namespace hoa_video 00077 00078 #endif // __CONTEXT_HEADER__
1.5.1