00001 /* 00002 File : labelledbox_c.h 00003 Date : 19-Sep-02 00004 Description : Class to represent a labelled box toolbox gadget. 00005 00006 Copyright © 1995-2002 Alexander Thoukydides 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU General Public License 00010 as published by the Free Software Foundation; either version 2 00011 of the License, or (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program; if not, write to the Free Software 00020 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 00021 */ 00022 00023 // Only include header file once 00024 #ifndef labelledbox_c_h 00025 #define labelledbox_c_h 00026 00027 // Include alexlib header files 00028 #ifndef gadget_c_h 00029 #include "gadget_c.h" 00030 #endif 00031 #ifndef labelledbox_b_h 00032 #include "labelledbox_b.h" 00033 #endif 00034 00035 // A class to represent a label gadget 00036 class labelledbox_c : virtual public gadget_b, 00037 public gadget_c, 00038 public labelledbox_b 00039 { 00040 public: 00041 00042 /* 00043 Parameters : component - The component ID of this labelled box. 00044 object - The object ID of this labelled box's parent 00045 window. 00046 Returns : - 00047 Description : Constructor function. This does not create a labelled box; 00048 it merely creates an object to represent the labelled box. 00049 */ 00050 labelledbox_c(toolbox_c component = toolbox_NULL_COMPONENT, 00051 toolbox_o object = toolbox_NULL_OBJECT); 00052 }; 00053 00054 /* 00055 Parameters : component - The component ID of this labelled box. 00056 object - The object ID of this labelled box's parent 00057 window. 00058 Returns : - 00059 Description : Constructor function. This does not create a labelled box; 00060 it merely creates an object to represent the labelled box. 00061 */ 00062 inline labelledbox_c::labelledbox_c(toolbox_c component, toolbox_o object) 00063 : gadget_c(component, object) {} 00064 00065 #endif
1.3.3