1 # PyOpenSG is (C) Copyright 2005-2009 by Allen Bierbaum
3 # This file is part of PyOpenSG.
5 # PyOpenSG is free software; you can redistribute it and/or modify it under
6 # the terms of the GNU Lesser General Public License as published by the Free
7 # Software Foundation; either version 2 of the License, or (at your option)
10 # PyOpenSG is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # This script is derived from gen_bindings.py, it contains all class specific
20 # tasks for the OSGWindowLib for the integration with the OpenSG CMake system
29 def preScanSetup(gen_classes
, fc_infos
, core_mods
, free_funcs
, free_func_mods
, exc_types
):
31 fc_infos
["PassiveWindow"] = osggen
.FCInfo("PassiveWindow", "Window")
35 def excludeFCDSetup(opensg_src_dir
, fc_ignore_list
, skip_fcds
):
37 fc_ignore_list
.extend(["DisplayFilterForeground"])
41 def genTemplatesSetup(template_builder
, tbuilder
, non_fc_template_instances
):
47 def postScanSetup(osg
, template_alias_db
):
53 def postGenClassesSetup(osg
, mb
):
59 def postFCDInfoSetup(osg
, mb
, adddition_exp
):
61 splitGenHelper
.customizeWindow(osg
, "PassiveWindow")