|
Rapicorn - Experimental UI Toolkit - Source Code 10.08.1
|
00001 /* Rapicorn 00002 * Copyright (C) 2005 Tim Janik 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * A copy of the GNU Lesser General Public License should ship along 00015 * with this library; if not, see http://www.gnu.org/copyleft/. 00016 */ 00017 #ifndef __RAPICORN_TABLE_HH__ 00018 #define __RAPICORN_TABLE_HH__ 00019 00020 #include <ui/container.hh> 00021 00022 namespace Rapicorn { 00023 00024 class Table : public virtual ContainerImpl { 00025 protected: 00026 virtual const PropertyList& list_properties (); 00027 public: 00028 virtual bool homogeneous () const = 0; 00029 virtual void homogeneous (bool chomogeneous_items) = 0; 00030 virtual uint col_spacing () = 0; 00031 virtual void col_spacing (uint cspacing) = 0; 00032 virtual uint row_spacing () = 0; 00033 virtual void row_spacing (uint rspacing) = 0; 00034 virtual void resize (uint n_cols, uint n_rows) = 0; 00035 virtual uint get_n_rows () = 0; 00036 virtual uint get_n_cols () = 0; 00037 virtual bool is_row_used (uint row) = 0; 00038 virtual bool is_col_used (uint col) = 0; 00039 virtual void insert_rows (uint first_row, uint n_rows) = 0; 00040 virtual void insert_cols (uint first_col, uint n_cols) = 0; 00041 }; 00042 00043 } // Rapicorn 00044 00045 #endif /* __RAPICORN_TABLE_HH__ */
1.7.4