forgotten inlines from previous round

This commit is contained in:
Mathias Gumz 2007-12-30 01:36:37 +01:00
parent e1f362ae76
commit de6d340ba3
4 changed files with 6 additions and 6 deletions

View file

@ -73,7 +73,7 @@ public:
virtual unsigned int width() const = 0;
virtual unsigned int height() const = 0;
virtual unsigned int depth() const = 0;
static inline Display *display() { return s_display; }
static Display *display() { return s_display; }
protected:
static Display *s_display; // display connection // display connection
};

View file

@ -36,7 +36,7 @@ public:
bool highlight, bool draw_foreground, bool draw_background,
int x, int y,
unsigned int width, unsigned int height) const;
virtual inline bool isEnabled() const { return false; }
virtual bool isEnabled() const { return false; }
};

View file

@ -32,7 +32,7 @@ template <typename Items, typename Item_Type>
class TypeAhead {
#if 0
a class template can't be split into separate interface + implementation files, an interface summary is given here:
// a class template can't be split into separate interface + implementation files, an interface summary is given here:
public:
void init(Items const &items);

View file

@ -32,7 +32,7 @@
class ToolbarItem {
public:
/// size type in the toolbar
enum Type {
enum Type {
FIXED, ///< the size can not be changed
RELATIVE, ///< the size can be changed
SQUARE ///< the size is fixed relative to the parent, and in both dimensions
@ -54,7 +54,7 @@ public:
// some items might be there, but effectively empty, so shouldn't appear
virtual bool active() { return true; }
// Tools should NOT listen to theme changes - they'll get notified by
// Tools should NOT listen to theme changes - they'll get notified by
// the toolbar instead. Otherwise there are ordering problems.
virtual void renderTheme(unsigned char alpha) = 0;
@ -69,7 +69,7 @@ public:
void setType(Type type) { m_type = type; }
Type type() const { return m_type; }
inline FbTk::Orientation orientation() const { return m_orientation; }
FbTk::Orientation orientation() const { return m_orientation; }
virtual void setOrientation(FbTk::Orientation orient) { m_orientation = orient; }
class ToolbarItemSubject : public FbTk::Subject {};