Skip to content

Commit

Permalink
libappfw: Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 2, 2014
1 parent aef1275 commit b554340
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doomsday/libappfw/include/de/framework/data.h
Expand Up @@ -127,6 +127,8 @@ class LIBAPPFW_PUBLIC Data
virtual dsize size() const = 0;
};

typedef Data::Pos DataPos;

} // namespace ui
} // namespace de

Expand Down
2 changes: 1 addition & 1 deletion doomsday/libappfw/include/de/widgets/dialogwidget.h
Expand Up @@ -141,7 +141,7 @@ class LIBAPPFW_PUBLIC DialogWidget : public PopupWidget

ScrollAreaWidget &area();

//MenuWidget &buttons();
MenuWidget &buttonsMenu();

/**
* Additional buttons of the dialog, laid out opposite to the normal dialog
Expand Down
5 changes: 5 additions & 0 deletions doomsday/libappfw/src/widgets/dialogwidget.cpp
Expand Up @@ -414,6 +414,11 @@ ScrollAreaWidget &DialogWidget::area()
return *d->area;
}

MenuWidget &DialogWidget::buttonsMenu()
{
return *d->buttons;
}

/*
MenuWidget &DialogWidget::buttons()
{
Expand Down

0 comments on commit b554340

Please sign in to comment.