forgotten inlines from previous round
This commit is contained in:
parent
e1f362ae76
commit
de6d340ba3
4 changed files with 6 additions and 6 deletions
|
@ -73,7 +73,7 @@ public:
|
||||||
virtual unsigned int width() const = 0;
|
virtual unsigned int width() const = 0;
|
||||||
virtual unsigned int height() const = 0;
|
virtual unsigned int height() const = 0;
|
||||||
virtual unsigned int depth() const = 0;
|
virtual unsigned int depth() const = 0;
|
||||||
static inline Display *display() { return s_display; }
|
static Display *display() { return s_display; }
|
||||||
protected:
|
protected:
|
||||||
static Display *s_display; // display connection // display connection
|
static Display *s_display; // display connection // display connection
|
||||||
};
|
};
|
||||||
|
|
|
@ -36,7 +36,7 @@ public:
|
||||||
bool highlight, bool draw_foreground, bool draw_background,
|
bool highlight, bool draw_foreground, bool draw_background,
|
||||||
int x, int y,
|
int x, int y,
|
||||||
unsigned int width, unsigned int height) const;
|
unsigned int width, unsigned int height) const;
|
||||||
virtual inline bool isEnabled() const { return false; }
|
virtual bool isEnabled() const { return false; }
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ template <typename Items, typename Item_Type>
|
||||||
class TypeAhead {
|
class TypeAhead {
|
||||||
#if 0
|
#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:
|
public:
|
||||||
void init(Items const &items);
|
void init(Items const &items);
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
class ToolbarItem {
|
class ToolbarItem {
|
||||||
public:
|
public:
|
||||||
/// size type in the toolbar
|
/// size type in the toolbar
|
||||||
enum Type {
|
enum Type {
|
||||||
FIXED, ///< the size can not be changed
|
FIXED, ///< the size can not be changed
|
||||||
RELATIVE, ///< the size can be changed
|
RELATIVE, ///< the size can be changed
|
||||||
SQUARE ///< the size is fixed relative to the parent, and in both dimensions
|
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
|
// some items might be there, but effectively empty, so shouldn't appear
|
||||||
virtual bool active() { return true; }
|
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.
|
// the toolbar instead. Otherwise there are ordering problems.
|
||||||
virtual void renderTheme(unsigned char alpha) = 0;
|
virtual void renderTheme(unsigned char alpha) = 0;
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ public:
|
||||||
void setType(Type type) { m_type = type; }
|
void setType(Type type) { m_type = type; }
|
||||||
Type type() const { return m_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; }
|
virtual void setOrientation(FbTk::Orientation orient) { m_orientation = orient; }
|
||||||
|
|
||||||
class ToolbarItemSubject : public FbTk::Subject {};
|
class ToolbarItemSubject : public FbTk::Subject {};
|
||||||
|
|
Loading…
Reference in a new issue