Skip to content
Snippets Groups Projects
Commit 2daaf147 authored by Frantisek Simon's avatar Frantisek Simon
Browse files

#62 Dialog factory class

parent 9e60da10
No related branches found
No related tags found
No related merge requests found
......@@ -11,13 +11,13 @@ import cz.nic.tablexia.util.ui.dialog.text.DialogTextContent;
/**
* Created by frantisek on 6.11.15.
*/
public class MouseDialog extends TextDialog {
public class DynamicBubbleDialog extends TextDialog {
private static final int DIALOG_BOTTOM_ARROW_Y_OFFSET = 15;
final Image dialogBottomImage;
public MouseDialog(float x, float y, float width, float height, BackGroundType backGroundType, DialogTextContent dialogTextContent, float bottomOffsetX) {
public DynamicBubbleDialog(float x, float y, float width, float height, BackGroundType backGroundType, DialogTextContent dialogTextContent, float bottomOffsetX) {
super(x, y, width, height, backGroundType, dialogTextContent);
TextureRegion dialogBottom = ApplicationAtlasManager.getInstance().getTextureRegion(ApplicationAtlasManager.DIALOG_BUBBLE_CLASSIC_BOTTOM);
dialogBottomImage = new Image(dialogBottom);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment