local page = class("dialogWindow_NewStory", G_UIPageBase)

function page.bind()
  return {
    skipButtonActive = true,
    buttonsActive = true,
    nextToggle = false,
    nextToggleActive = false,
    normalTextUI = false,
    subtitleUI = false,
    subtitleTextName = "",
    subtitleText = "",
    avatarUI = false,
    modulePlotDialog = {
      moduleName = "pages/dialogue/modulePlotDialog"
    },
    entryTipActive = false,
    moduleEntryTip = {
      moduleName = "pages/dialogue/moduleEntryTip"
    },
    dialogWriterPlayText = nil,
    dialogWriterCmd = 0,
    speakerText = "",
    blackTextUI = false,
    blackWriterPlayText = nil,
    blackWriterCmd = 0,
    blackNextToggle = false,
    oldNotepadPos = C_Vector2(10, -48),
    oldNotepadTextUI = false,
    oldNotepadPlayText = "",
    oldNotepadNameText = "",
    oldNotepadNameTextActive = false,
    oldNotepadHaveNameIcon = false,
    oldNotepadNoNameIcon = false,
    oldNotepadNoNamePlaceholder = false,
    timeLineUI = false,
    timeLineSubtitleText = "",
    writedSubtitleTextUI = false,
    writedSubtitlePlayText = nil,
    writedSubtitleWriterCmd = 0,
    globalMaskActive = false,
    illustrationActive = false,
    toggle_play = false
  }
end

function page.methods()
  return {
    dragBegin = function(self, pos)
    end,
    drag = function(self, pos)
    end,
    dragEnd = function(self, pos)
    end,
    skipOnClick = function(self)
    end,
    nextDialogueClick = function(self)
    end,
    autoOn = function(self)
    end,
    autoOff = function(self)
    end,
    onLogClick = function(self)
    end,
    onHideClick = function(self)
    end,
    onDialogWriterPlayComplete = function(self)
    end,
    onBlackWriterPlayComplete = function(self)
    end,
    onSubtitleWriterPlayComplete = function(self)
    end
  }
end

return page
