1 /* === S I N F G =========================================================== */
2 /*! \file mod_palette.cpp
3 ** \brief Template File
5 ** $Id: mod_palette.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === H E A D E R S ======================================================= */
31 #include "mod_palette.h"
32 #include "dock_paledit.h"
33 #include "dock_palbrowse.h"
36 #include "../dockmanager.h"
40 /* === U S I N G =========================================================== */
44 using namespace sinfg;
45 using namespace studio;
47 /* === M A C R O S ========================================================= */
49 /* === G L O B A L S ======================================================= */
51 /* === P R O C E D U R E S ================================================= */
53 /* === M E T H O D S ======================================================= */
56 studio::ModPalette::start_vfunc()
58 dock_pal_edit=new Dock_PalEdit();
59 App::get_dock_manager()->register_dockable(*dock_pal_edit);
61 dock_pal_browse=new Dock_PalBrowse();
62 App::get_dock_manager()->register_dockable(*dock_pal_browse);
68 studio::ModPalette::stop_vfunc()
70 App::get_dock_manager()->unregister_dockable(*dock_pal_browse);
71 App::get_dock_manager()->unregister_dockable(*dock_pal_edit);
74 delete dock_pal_browse;