File indexing completed on 2024-05-12 05:34:33
0001 #ifndef oxygengroupboxlabelengine_h 0002 #define oxygengroupboxlabelengine_h 0003 /* 0004 * this file is part of the oxygen gtk engine 0005 * SPDX-FileCopyrightText: 2010 Hugo Pereira Da Costa <hugo.pereira@free.fr> 0006 * 0007 * SPDX-License-Identifier: LGPL-2.0-or-later 0008 */ 0009 0010 0011 #include "oxygengenericengine.h" 0012 #include "oxygendatamap.h" 0013 #include "oxygengroupboxlabeldata.h" 0014 0015 #include <gtk/gtk.h> 0016 0017 namespace Oxygen 0018 { 0019 //! forward declaration 0020 class Animations; 0021 0022 //! stores data associated to editable scrolled windows 0023 class GroupBoxLabelEngine: public GenericEngine<GroupBoxLabelData> 0024 { 0025 0026 public: 0027 0028 //! constructor 0029 GroupBoxLabelEngine( Animations* widget ): 0030 GenericEngine<GroupBoxLabelData>( widget ) 0031 {} 0032 0033 //! destructor 0034 virtual ~GroupBoxLabelEngine( void ) 0035 {} 0036 0037 // adjust widget size 0038 void adjustSize( GtkWidget* widget ) 0039 { return data().value( widget ).adjustSize( widget ); } 0040 0041 }; 0042 0043 } 0044 0045 #endif