亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? eccrecentfiles.h

?? C++實現的橢圓曲線算法。已經寫成一個庫文件只要調用就行了
?? H
字號:
/* ==========================================================================

	ecc - Erik's Code Collection
	Copyright (C) 2003-2005 - Erik Dienske

	This file is part of ecc.

	ecc is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	ecc is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with ecc; if not, write to the Free Software Foundation, Inc.,
	59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

===========================================================================*/

//---------------------------------------------------------------------------
#ifndef eccRecentFilesH
#define eccRecentFilesH
//---------------------------------------------------------------------------
#include <Menus.hpp>
//---------------------------------------------------------------------------

/*	Usage:
	TRecentFiles* rf = new ecc::TRecentFiles();
	if (rf)
		rf->OnSelect = OnSelectRecentFile; // Declared as: void OnSelectRecentFile(String fpath)

	rf->Add("C:\filename.ext");
	rf->PopupAt(Form1->Left + 32, Form1->Top + 48);
	// Or:
	rf->ToMenuItem(recent_files); // [recent_files] is a TMenuItem, most likely part of a TMenu.

	delete rf;
*/

//===========================================================================
namespace ecc {
//===========================================================================

class TRecentFiles {

private:

	int FMaxVisibleItemsCount;
	int FMaxItemsCount;
	TPopupMenu* FPopMenu;
	TMenuItem* FDefaultMenuItem;
	TStringList* FItems;
	bool FShowHotKeys;

	bool _showPath;
    /*  If true, the full paths of the recent files will be displayed. */

	void __fastcall OnRecentFileClick(TObject *Sender);
	/*	Internal callback, called when a menu item is selected. */

	void ItemsToMenu(TMenuItem* menu_item);
	/*	Populates menu_item with FMaxVisibleItemsCount FItems. */

	void UpdateDefaultMenu();

	typedef void CALLBACK_OnSelect(String fpath);
	CALLBACK_OnSelect* OnSelect;
	/*	External callback, can be set using the constructor. */

public:

	TRecentFiles(TMenuItem* menu_item, CALLBACK_OnSelect* on_select);
	~TRecentFiles();

	void Add(String item);
	/*	Adds [item] to the top of FItems. The [item] is assumed to be a path to some file.
		If [item] exists, it is moved to the top (duplicates are not allowed).
		Updates FDefaultMenuItem if it exists. */

	void Clear();
	/*	Empties FItems, and sets FMaxVisibleItemsCount and FMaxItemsCount to their default values.
		Updates FDefaultMenuItem if it exists. */

	bool IsEmpty()
	{	return (FItems->Count == 0); }

	int GetCount()
	{	return FItems->Count; }

	int SetMaxVisibleItemsCount(int count);
	/*	Sets FMaxVisibleItemsCount to [count], but will not exceed FMaxItemsCount.
		Returns the value FMaxVisibleItemsCount is set to.
		Updates FDefaultMenuItem if it exists. */

	int GetMaxVisibleItemsCount()
	{	return FMaxVisibleItemsCount; }

	int GetVisibleItemsCount();
	/*	Returns the actual amount of visible items.
		This value is equal to or less than FMaxVisibleItemsCount. */

	void setShowPath(bool show);
    /*  Sets/unsets _showPath. */

	bool getShowPath()
	{	return _showPath; }

	void ToFile(String fpath);
	/*	Saves list of files (as text) to file [fpath].
		Note: Replaces original file. */

	void FromFile(String fpath);
	/*  Reads FItems from file.
		Note: Replaces existing FItems.
		Updates FDefaultMenuItem if it exists. */

	bool ToIniFile(String ini_fpath, String section_name);
	/*	Saves list of files to section [section_name] of ini-file [ini_fpath].
		Saves the value of FMaxVisibleItemsCount as "MaxVisibleItemsCount=[FMaxVisibleItemsCount]".
		Saves the value of FShowPath as "ShowPath=[FShowPath]".
		The list will be stored as a name=value pair (ie. "Item.0=C:\filename.ext").
		Note: Replaces existing section.
		Returns false if an error occurred. */

	bool FromIniFile(String ini_fpath, String section_name);
	/*  Retrieves data from section [section_name] of ini-file [ini_fpath].
		Reads the values of FMaxVisibleItemsCount and FShowPath.
		Reads the name=value pairs for the items.
		Returns false if an error occurred.
		Updates FDefaultMenuItem if it exists. */

	void PopupAt(int X, int Y);
	/* 	Displays a maximum of FMaxVisibleItemsCount items
		as a PopupMenu at screen coordinates X and Y. */

	void ToMenuItem(TMenuItem* menu_item);
	/* 	Adds a maximum of FMaxVisibleItemsCount items to [menu_item].
		Previously existing items are removed before adding any new items. */
};
//---------------------------------------------------------------------------

//===========================================================================
} // namespace ecc;
//===========================================================================
#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩国产手机在线 | 色噜噜狠狠成人中文综合| 日韩一区二区三区四区| 亚洲美女一区二区三区| 国产高清亚洲一区| 欧美一区二区三区视频免费 | 欧美精品一区二区在线播放| 一区二区三区在线高清| 成人永久免费视频| 精品精品国产高清a毛片牛牛| 亚洲高清免费一级二级三级| 97久久超碰国产精品| 国产日韩欧美一区二区三区乱码| 日韩高清在线观看| 欧美日韩亚洲综合在线| 亚洲三级免费电影| www.亚洲免费av| 久久精品人人做人人综合| 男女性色大片免费观看一区二区| 欧美三级欧美一级| 亚洲在线一区二区三区| 色综合久久综合| 国产精品久久毛片av大全日韩| 国产激情一区二区三区桃花岛亚洲| 国产福利不卡视频| 99国产精品久| 日韩一区二区高清| 亚洲视频一区二区在线观看| 亚洲电影视频在线| 国产成人鲁色资源国产91色综 | 国产精品原创巨作av| av一区二区三区| 欧美久久久久久久久中文字幕| 欧美一区二视频| 国产精品毛片无遮挡高清| 一区二区高清在线| 国产精品一二三在| 91黄色激情网站| 26uuu另类欧美亚洲曰本| 亚洲男女一区二区三区| 久久99精品国产91久久来源| 色婷婷久久久亚洲一区二区三区| 精品粉嫩aⅴ一区二区三区四区| 国产精品福利一区二区| 久久99精品久久久| 欧美色倩网站大全免费| 日本一区二区成人| 另类小说色综合网站| 欧美亚洲国产bt| 国产精品伦一区| 精品一区二区三区不卡| 欧美亚洲自拍偷拍| 中文字幕一区不卡| 国产成a人亚洲精| 精品国产a毛片| 婷婷综合五月天| 91丨porny丨国产入口| 久久久精品一品道一区| 七七婷婷婷婷精品国产| 欧美酷刑日本凌虐凌虐| 亚洲一区电影777| 日本高清成人免费播放| 国产精品人人做人人爽人人添| 激情图区综合网| 日韩午夜在线观看视频| 日韩福利电影在线观看| 欧美日韩在线不卡| 亚洲高清久久久| 欧美午夜精品久久久久久超碰 | 精品国产乱码久久久久久1区2区| 视频在线在亚洲| 在线成人av影院| 亚洲综合激情小说| 视频一区免费在线观看| 久久亚洲捆绑美女| 91麻豆视频网站| 视频在线观看91| 国产亚洲美州欧州综合国| 色综合一个色综合亚洲| 青娱乐精品视频| 欧美国产日韩在线观看| 欧美色图在线观看| 国产一区欧美一区| 有码一区二区三区| 精品福利av导航| 日本乱码高清不卡字幕| 久久精品国产网站| 日韩一区在线播放| 日韩欧美专区在线| gogogo免费视频观看亚洲一| 亚洲超碰97人人做人人爱| 国产亚洲欧美激情| 欧美日韩亚洲高清一区二区| 日韩欧美在线网站| 国产成人亚洲综合a∨猫咪| 日韩伦理电影网| 8x8x8国产精品| 国产成人免费网站| 亚洲精品福利视频网站| 91精品免费观看| 国产麻豆91精品| 成人免费在线播放视频| 欧美精品亚洲二区| 国产精一区二区三区| 亚洲乱码国产乱码精品精的特点| 欧美日韩国产精选| 久久99热狠狠色一区二区| 国产精品网曝门| 欧美日韩一区二区三区在线看| 奇米777欧美一区二区| 国产精品日韩成人| 日韩欧美成人一区| 欧美综合亚洲图片综合区| 久久精品国产99国产精品| 日韩美女视频一区二区 | 不卡的电视剧免费网站有什么| 亚洲一级在线观看| 日本一区二区动态图| 51精品视频一区二区三区| 成人免费精品视频| 爽好久久久欧美精品| 亚洲三级在线观看| 国产日韩影视精品| 欧美一区二区三区免费大片 | 中文字幕乱码亚洲精品一区| 欧美巨大另类极品videosbest| 成人免费高清视频| 国产麻豆欧美日韩一区| 午夜伊人狠狠久久| 一区二区激情小说| 国产精品三级视频| ww久久中文字幕| 欧美一级xxx| 欧美日韩在线播放三区四区| 国产传媒久久文化传媒| 免费在线视频一区| 视频一区中文字幕| 亚洲超碰97人人做人人爱| 亚洲视频狠狠干| 国产精品―色哟哟| 欧美国产精品v| 国产亚洲成年网址在线观看| 日韩三级伦理片妻子的秘密按摩| 欧美影片第一页| 日本道精品一区二区三区| 色婷婷久久综合| 色婷婷综合久色| 91免费看片在线观看| 99久久久久免费精品国产| 成人av集中营| bt欧美亚洲午夜电影天堂| 国产成人一区二区精品非洲| 国产成人av电影在线| 国产精品911| 成人av网站免费观看| 97精品视频在线观看自产线路二| a级精品国产片在线观看| 9色porny自拍视频一区二区| 99re这里只有精品视频首页| 成人黄色免费短视频| 一本久久a久久免费精品不卡| 一本色道久久综合狠狠躁的推荐| 91婷婷韩国欧美一区二区| 色综合一区二区三区| 欧美午夜一区二区| 欧美一区二区免费观在线| 欧美一级理论片| 国产日韩欧美在线一区| 中文字幕制服丝袜成人av | 在线观看中文字幕不卡| 欧美性欧美巨大黑白大战| 日韩视频一区二区在线观看| 久久久久一区二区三区四区| 亚洲三级电影全部在线观看高清| 依依成人精品视频| 美女视频一区二区| 成人免费观看视频| 欧美偷拍一区二区| 精品久久久久久最新网址| 国产精品久久久久久久久久免费看 | 成人免费在线视频| 日韩综合小视频| 国产超碰在线一区| 精品视频一区二区三区免费| 久久综合久久综合九色| 亚洲色图视频网| 蜜桃久久av一区| 丁香亚洲综合激情啪啪综合| 在线视频综合导航| 久久人人爽人人爽| 亚洲成人www| 成人综合婷婷国产精品久久 | 一区二区欧美精品| 精品亚洲国产成人av制服丝袜| 99久久99久久精品国产片果冻| 91精品国产综合久久精品麻豆| 久久精品人人做人人综合| 五月天亚洲婷婷| 99精品视频中文字幕| 精品国产乱码久久久久久老虎|