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
:
50
ListBox
lbPosition
;
52
Button
btnAdd
,
btnRemove
;
53
54
private
:
55
std::reference_wrapper<ShlTextReader>
shell
;
60
BookmarkList
bookmarks
;
61
62
public
:
64
BookmarkPanel
(
const
BookmarkList
&,
ShlTextReader
&);
65
67
BookmarkList::difference_type
68
GetSelected
()
const
;
69
71
void
72
LoadBookmarks
();
73
};
74
75
}
// namespace YReader;
76
77
#endif
78
YSLib::UI::ListBox
带滚动条的文本列表框。
Definition:
ComboList.h:48
YReader::BookmarkPanel
书签管理面板。
Definition:
BookmarkUI.h:44
YReader::BookmarkPanel::btnAdd
Button btnAdd
Definition:
BookmarkUI.h:52
YReader::ShlTextReader
文本阅读器 Shell 。
Definition:
ShlReader.h:215
YSLib::UI::Button
按钮。
Definition:
button.h:116
YReader::BookmarkPanel::LoadBookmarks
void LoadBookmarks()
Definition:
BookmarkUI.cpp:134
YReader::BookmarkList
vector< Bookmark::PositionType > BookmarkList
书签列表类型。
Definition:
ReadingList.h:82
YReader::BookmarkPanel::GetSelected
BookmarkList::difference_type GetSelected() const
Definition:
BookmarkUI.cpp:128
YReader::BookmarkPanel::BookmarkPanel
BookmarkPanel(const BookmarkList &, ShlTextReader &)
Definition:
BookmarkUI.cpp:82
YReader::BookmarkPanel::btnRemove
Button btnRemove
Definition:
BookmarkUI.h:52
ReadingList.h
阅读列表。
YReader::BookmarkPanel::shell
std::reference_wrapper< ShlTextReader > shell
Definition:
BookmarkUI.h:55
YSLib::UI::DialogPanel
对话面板。
Definition:
uicontx.h:73
YReader::BookmarkPanel::lbPosition
ListBox lbPosition
Definition:
BookmarkUI.h:50
YReader::BookmarkPanel::bookmarks
BookmarkList bookmarks
当前打开文件的书签列表。
Definition:
BookmarkUI.h:60
YSTest
include
BookmarkUI.h
生成于 2014年 五月 30日 星期五 00:14:49 , 为 YSTest使用
1.8.7