summaryrefslogtreecommitdiff
path: root/fluid/widgets/Node_Browser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/widgets/Node_Browser.cxx')
-rw-r--r--fluid/widgets/Node_Browser.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/widgets/Node_Browser.cxx b/fluid/widgets/Node_Browser.cxx
index 91611f876..06804125d 100644
--- a/fluid/widgets/Node_Browser.cxx
+++ b/fluid/widgets/Node_Browser.cxx
@@ -380,11 +380,11 @@ void Node_Browser::item_draw(void *v, int X, int Y, int, int) const {
}
if ( l->is_widget()
- && !l->is_a(Type::Window)
+ && !l->is_a(FLD_NODE_TYPE_Window)
&& ((Widget_Node*)l)->o
&& !((Widget_Node*)l)->o->visible()
- && (!l->parent || ( !l->parent->is_a(Type::Tabs)
- && !l->parent->is_a(Type::Wizard) ) )
+ && (!l->parent || ( !l->parent->is_a(FLD_NODE_TYPE_Tabs)
+ && !l->parent->is_a(FLD_NODE_TYPE_Wizard) ) )
)
{
invisible_pixmap->draw(X - 17, Y);
@@ -425,7 +425,7 @@ void Node_Browser::item_draw(void *v, int X, int Y, int, int) const {
else fl_color(func_color);
copy_trunc(buf, l->title(), 55, 0, 0);
} else {
- if (l->is_a(Type::Comment)) {
+ if (l->is_a(FLD_NODE_TYPE_Comment)) {
// -- comment (in main line, not above entry)
fl_font(comment_font, textsize());
if (l->new_selected) fl_color(fl_contrast(comment_color, FL_SELECTION_COLOR));