YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
BookmarkUI.h
浏览该文件的文档.
1 /*
2  Copyright by FrankHB 2013.
3 
4  This file is part of the YSLib project, and may only be used,
5  modified, and distributed under the terms of the YSLib project
6  license, LICENSE.TXT. By continuing to use, modify, or distribute
7  this file you indicate that you have read the license and
8  understand and accept it fully.
9 */
10 
28 #ifndef INC_YReader_BookmarkUI_h_
29 #define INC_YReader_BookmarkUI_h_ 1
30 
31 #include "ReadingList.h"
32 
33 namespace YReader
34 {
35 
37 class ShlTextReader;
38 
39 
44 class BookmarkPanel : public DialogPanel
45 {
47  friend class ShlTextReader;
48 
49 protected:
53 
54 private:
55  std::reference_wrapper<ShlTextReader> shell;
61 
62 public:
65 
67  BookmarkList::difference_type
68  GetSelected() const;
69 
71  void
72  LoadBookmarks();
73 };
74 
75 } // namespace YReader;
76 
77 #endif
78 
带滚动条的文本列表框。
Definition: ComboList.h:48
书签管理面板。
Definition: BookmarkUI.h:44
文本阅读器 Shell 。
Definition: ShlReader.h:215
按钮。
Definition: button.h:116
vector< Bookmark::PositionType > BookmarkList
书签列表类型。
Definition: ReadingList.h:82
BookmarkList::difference_type GetSelected() const
Definition: BookmarkUI.cpp:128
BookmarkPanel(const BookmarkList &, ShlTextReader &)
Definition: BookmarkUI.cpp:82
阅读列表。
std::reference_wrapper< ShlTextReader > shell
Definition: BookmarkUI.h:55
对话面板。
Definition: uicontx.h:73
BookmarkList bookmarks
当前打开文件的书签列表。
Definition: BookmarkUI.h:60