Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

label_c.h

Go to the documentation of this file.
00001 /*
00002     File        : label_c.h
00003     Date        : 19-Sep-02
00004     Description : Class to represent a label 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 label_c_h
00025 #define label_c_h
00026 
00027 // Include alexlib header files
00028 #ifndef gadget_c_h
00029 #include "gadget_c.h"
00030 #endif
00031 #ifndef label_b_h
00032 #include "label_b.h"
00033 #endif
00034 
00035 // A class to represent a label gadget
00036 class label_c : public virtual gadget_b,
00037                 public gadget_c,
00038                 public label_b
00039 {
00040 public:
00041 
00042     /*
00043         Parameters  : component - The component ID of this label.
00044                       object    - The object ID of this label's parent window.
00045         Returns     : -
00046         Description : Constructor function. This does not create a label;
00047                       it merely creates an object to represent the label.
00048     */
00049     label_c(toolbox_c component = toolbox_NULL_COMPONENT,
00050             toolbox_o object = toolbox_NULL_OBJECT);
00051 };
00052 
00053 /*
00054     Parameters  : component - The component ID of this label.
00055                   object    - The object ID of this label's parent window.
00056     Returns     : -
00057     Description : Constructor function. This does not create a label;
00058                   it merely creates an object to represent the label.
00059 */
00060 inline label_c::label_c(toolbox_c component, toolbox_o object)
00061 : gadget_c(component, object) {}
00062 
00063 #endif

Generated on Sun Jan 26 10:18:43 2025 for NBLib by doxygen 1.3.3