diff options
Diffstat (limited to 'src/ToolbarItem.hh')
-rw-r--r-- | src/ToolbarItem.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ToolbarItem.hh b/src/ToolbarItem.hh index dc60264..57088e0 100644 --- a/src/ToolbarItem.hh +++ b/src/ToolbarItem.hh | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: ToolbarItem.hh,v 1.2 2003/08/13 09:36:12 fluxgen Exp $ | 23 | // $Id: ToolbarItem.hh,v 1.3 2003/10/31 10:37:09 rathnor Exp $ |
24 | 24 | ||
25 | #ifndef TOOLBARITEM_HH | 25 | #ifndef TOOLBARITEM_HH |
26 | #define TOOLBARITEM_HH | 26 | #define TOOLBARITEM_HH |
@@ -47,6 +47,8 @@ public: | |||
47 | virtual unsigned int width() const = 0; | 47 | virtual unsigned int width() const = 0; |
48 | virtual unsigned int height() const = 0; | 48 | virtual unsigned int height() const = 0; |
49 | virtual unsigned int borderWidth() const = 0; | 49 | virtual unsigned int borderWidth() const = 0; |
50 | // some items might be there, but effectively empty, so shouldn't appear | ||
51 | virtual bool active() { return true; } | ||
50 | 52 | ||
51 | void setType(Type type) { m_type = type; } | 53 | void setType(Type type) { m_type = type; } |
52 | Type type() const { return m_type; } | 54 | Type type() const { return m_type; } |