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

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

?? htpal.cc

?? 功能較全面的反匯編器:反匯編器ht-2.0.15.tar.gz
?? CC
字號:
/* *	HT Editor *	htpal.cc * *	Copyright (C) 1999-2002 Stefan Weyergraf * *	This program is free software; you can redistribute it and/or modify *	it under the terms of the GNU General Public License version 2 as *	published by the Free Software Foundation. * *	This program 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 this program; if not, write to the Free Software *	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */#include "atom.h"#include "display.h"#include "htctrl.h"#include "htdialog.h"#include "htpal.h"#include "htreg.h"#include "strtools.h"#include "snprintf.h"#include "tools.h"// include indices#include "httag.h"#include "syntax.h"#include "out_ht.h"//#include <stdlib.h>#include <string.h>#define ATOM_PALETTE_ENTRY		MAGIC32("PAL\x00")#define ATOM_HT_CREATE_PALETTE_ENTRY	MAGIC32("PAL\x10")struct pal_layout {	int idx;	const char *name;};/* palette layout: tags */pal_layout pal_layout_tags[]={{palidx_tags_edit_tag_cursor_select,	"edit-tag cursor select"},{palidx_tags_edit_tag_cursor_edit,	"edit-tag cursor edit"},{palidx_tags_edit_tag_cursor_unfocused,	"edit-tag cursor unfocused"},{palidx_tags_edit_tag_selected,		"edit-tag selected"},{palidx_tags_edit_tag_modified,		"edit-tag modified"},{palidx_tags_edit_tag,			"edit-tag"},{palidx_tags_sel_tag_cursor_focused,	"sel-tag cursor focused"},{palidx_tags_sel_tag_cursor_unfocused,	"sel-tag cursor unfocused"},{palidx_tags_sel_tag,			"sel-tag"},{0, NULL}};/* palette layout: generic */pal_layout pal_layout_generic[] = {{palidx_generic_body,			"body"},{palidx_generic_text_focused,		"text focused"},{palidx_generic_text_unfocused,		"text unfocused"},{palidx_generic_text_shortcut,		"text shortcut"},{palidx_generic_text_shortcut_selected,	"text shortcut selected"},{palidx_generic_text_selected,		"text selected"},{palidx_generic_text_disabled,		"text disabled"},{palidx_generic_frame_focused,		"frame focused"},{palidx_generic_frame_unfocused,	"frame unfocused"},{palidx_generic_frame_move_resize,	"frame move-resize"},{palidx_generic_frame_killer,		"frame killer"},{palidx_generic_scrollbar,		"scrollbar"},{palidx_generic_input_focused,		"input focused"},{palidx_generic_input_unfocused,	"input unfocused"},{palidx_generic_input_selected,		"input selected"},{palidx_generic_input_clip,		"input clip-chars"},{palidx_generic_button_focused,		"button focused"},{palidx_generic_button_unfocused,	"button unfocused"},{palidx_generic_button_shadow,		"button shadow"},{palidx_generic_button_shortcut,	"button shortcut"},{palidx_generic_list_focused_selected, 	"list focused & selected"},{palidx_generic_list_focused_unselected, "list focused & unselected"},{palidx_generic_list_unfocused_selected, "list unfocused & selected"},{palidx_generic_list_unfocused_unselected, "list unfocused & unselected"},{palidx_generic_cluster_focused,	"cluster focused"},{palidx_generic_cluster_unfocused,	"cluster unfocused"},{palidx_generic_cluster_shortcut,	"cluster shortcut"},{0, NULL}};/* palette layout: syntax */pal_layout pal_layout_syntax[] = {{palidx_syntax_whitespace,		"whitespace"},{palidx_syntax_comment,			"comment"},{palidx_syntax_identifier,		"identifier"},{palidx_syntax_reserved,		"reserved"},{palidx_syntax_intnum,			"integer number"},{palidx_syntax_floatnum,		"float number"},{palidx_syntax_string,			"string"},{palidx_syntax_char,			"character"},{palidx_syntax_symbol,			"symbol"},{palidx_syntax_preprocess,		"preprocess"},{palidx_syntax_meta, 			"meta"}};/* palette layout: analyser */pal_layout pal_layout_analyser[] = {{palidx_analyser_default,		"default"},{palidx_analyser_comment,		"comment"},{palidx_analyser_label,			"label"},{palidx_analyser_number,		"number"},{palidx_analyser_string,		"string"},{palidx_analyser_symbol,		"symbol-character"},};/* all layouts */struct pal_class {	pal_layout *layout;	const char *name;};pal_class pal_layouts[] ={{pal_layout_generic,	"generic"},{pal_layout_tags,	"tags"},{pal_layout_syntax,	"syntax"},{pal_layout_analyser,	"analyser"},{NULL, NULL}};/* *   reg/pal management */vcp getcolorv(palette *pal, uint index){	if ((index<pal->size) && (pal->data)) return pal->data[index];	return VCP(VC_WHITE, VC_RED);}pal_layout *find_pal_layout(pal_class *layouts, const char *pal_class, int *lsize){	pal_layout *pl = NULL;	while (layouts->layout && layouts->name) {		if (strcmp(layouts->name, pal_class) == 0) {			pl = layouts->layout;			break;		}		layouts++;	}	int s = 0;	if (pl) {		pal_layout *p = pl;		while (p->name) {			p++;			s++;		}	}	if (pl) *lsize = s;	return pl;}int find_pal_entry_idx(pal_layout *layout, const char *name){	while (layout->name) {		if (strcmp(layout->name, name) == 0) return layout->idx;		layout++;	}	return -1;}bool load_pal(const char *pal_class, const char *pal_flavour, palette *p){	if ((!pal_flavour) || (!pal_class)) return false;	char dir[256];		/* secure */	ht_snprintf(dir, sizeof dir, "%s/%s/%s", palettekey, pal_class, pal_flavour);	int psize = 0;	pal_layout *pl = find_pal_layout(pal_layouts, pal_class, &psize);	if (!pl) return false;	p->size = psize;	p->data = ht_malloc(sizeof *p->data * psize);	for (int i=0; i < psize; i++) p->data[i] = VCP(VC_WHITE, VC_RED);	ht_registry_node *n = NULL;	ht_registry_node_type rnt_pal = registry->lookup_node_type(rnt_palette_name);	while ((n = registry->enum_next(dir, n))) {		if (n->type == rnt_pal) {			int idx = find_pal_entry_idx(pl, n->name);			if (idx != -1 && idx < psize) {				p->data[idx] = ((palette_entry *)n->data)->color;			}		}	}	return true;}/* *	CLASS palette_entry */ palette_entry::palette_entry(uint _idx, vcp _color){	idx=_idx;	color=_color;}bool palette_entry::editdialog(const char *keyname){	Bounds b;	b.w = 50;	b.h = 15;	b.x = (screen->w - b.w)/2;	b.y = (screen->h - b.h)/2;		ht_dialog *d=new ht_dialog();	d->init(&b, "edit palette entry", FS_TITLE | FS_KILLER);		ht_color_block *fgc, *bgc;	ht_label *l1, *l2;		b.assign(2, 1, 16, 5);	fgc = new ht_color_block();	fgc->init(&b, VCP_FOREGROUND(color), cf_transparent | cf_light);	d->insert(fgc);	b.assign(2, 0, 16, 1);	l1 = new ht_label();	l1->init(&b, "~foreground", fgc);	d->insert(l1);		b.assign(20, 1, 16, 5);	bgc = new ht_color_block();	bgc->init(&b, VCP_BACKGROUND(color), cf_transparent | cf_light);	d->insert(bgc);		b.assign(20, 0, 16, 1);	l2 = new ht_label();	l2->init(&b, "~background", bgc);	d->insert(l2);	bool r = false;	if (d->run(false)) {		ht_color_block_data fgd, bgd;		ViewDataBuf vdb1(fgc, &fgd, sizeof fgd);		ViewDataBuf vdb2(bgc, &bgd, sizeof bgd);		color = VCP(fgd.color, bgd.color);		r = true;	}		d->done();	delete d;	return r;}void palette_entry::load(ObjectStream &f){	GET_INT32D(f, idx);	GET_INT32D(f, color);}ObjectID palette_entry::getObjectID() const{	return ATOM_PALETTE_ENTRY;}void palette_entry::store(ObjectStream &f) const{	PUT_INT32D(f, idx);	PUT_INT32D(f, color);}void palette_entry::strvalue(char *buf32bytes){	char *p = buf32bytes;	const char *text;	int fg = VCP_FOREGROUND(color);	int bg = VCP_BACKGROUND(color);	if (fg == VC_TRANSPARENT && bg == VC_TRANSPARENT) {		text = "transparent";		fg = VC_WHITE;		bg = VC_BLACK;	} else if (fg == VC_TRANSPARENT) {		text = "fgtrans";		fg = VC_WHITE;		if (bg == fg) fg = VC_BLACK;	} else if (bg == VC_TRANSPARENT) {		text = "bgtrans";		bg = VC_BLACK;		if (bg == fg) fg = VC_WHITE;	} else {		text = "normal";	}	p = tag_make_color(p, 32, VCP(fg, bg));	p += sprintf(p, text);	p = tag_make_default_color(p, 32);	*p = 0;}ht_registry_data *create_empty_palette_entry(){	return new palette_entry();}/* *	INIT */BUILDER(ATOM_PALETTE_ENTRY, palette_entry, ht_registry_data);bool init_pal(){	REGISTER(ATOM_PALETTE_ENTRY, palette_entry);	registerAtom(ATOM_HT_CREATE_PALETTE_ENTRY, (void*)create_empty_palette_entry);	return true;}/* *	DONE */void done_pal(){	UNREGISTER(ATOM_PALETTE_ENTRY, palette_entry);	unregisterAtom(ATOM_HT_CREATE_PALETTE_ENTRY);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
白白色 亚洲乱淫| 国产激情一区二区三区四区| 中文字幕视频一区二区三区久| 精品国产91乱码一区二区三区| 这里只有精品免费| 制服视频三区第一页精品| 欧美日本在线看| 91精品欧美综合在线观看最新| 欧美日韩一区在线观看| 欧美日本视频在线| 在线电影欧美成精品| 欧美老女人在线| 欧美一区2区视频在线观看| 91精品国产91久久综合桃花| 日韩视频国产视频| 国产清纯白嫩初高生在线观看91 | 亚洲少妇中出一区| 一区二区三区四区中文字幕| 一级女性全黄久久生活片免费| 亚洲综合一二三区| 美女精品一区二区| 国产在线一区二区| 99精品国产99久久久久久白柏| 色综合久久99| 欧美电影一区二区| 国产亚洲午夜高清国产拍精品| 国产精品乱人伦| 亚洲成人中文在线| 国产一区二区三区四区五区美女| 国产不卡视频一区| 欧美午夜不卡在线观看免费| 制服丝袜av成人在线看| 久久久av毛片精品| 夜夜精品视频一区二区| 麻豆成人久久精品二区三区红 | 亚洲少妇最新在线视频| 蜜桃一区二区三区在线观看| 暴力调教一区二区三区| 欧美美女激情18p| 中文字幕不卡的av| 日韩av电影天堂| av电影在线观看一区| 欧美精品第1页| 国产精品短视频| 久久99深爱久久99精品| 91丝袜美腿高跟国产极品老师 | 日欧美一区二区| 国产精品亚洲综合一区在线观看| 91伊人久久大香线蕉| 欧美高清视频一二三区| 亚洲人亚洲人成电影网站色| 奇米色一区二区| 91蜜桃免费观看视频| 欧美大片一区二区三区| 亚洲一区免费在线观看| 国产成人午夜高潮毛片| 日韩无一区二区| 亚洲日穴在线视频| 国产精品自在欧美一区| 91精品国模一区二区三区| 一区二区三区精品视频| www.在线欧美| 欧美激情中文字幕一区二区| 蜜桃av一区二区三区| 欧美视频在线一区| 亚洲人一二三区| 91视频观看视频| 综合分类小说区另类春色亚洲小说欧美 | 国产欧美精品国产国产专区 | 91麻豆精品一区二区三区| 久久亚洲欧美国产精品乐播 | 国产成人精品免费| 精品对白一区国产伦| 久久99国产精品久久| 日韩一区二区电影在线| 日本中文在线一区| 欧美精品日韩一本| 丝袜亚洲另类欧美综合| 欧美日韩高清一区二区| 亚洲一区二区三区免费视频| 欧美在线免费观看亚洲| 亚洲va欧美va人人爽| 欧洲视频一区二区| 婷婷激情综合网| 日韩欧美一区在线| 国产成人丝袜美腿| 国产精品三级电影| 一本久久a久久精品亚洲| 亚洲激情在线播放| 欧美日韩一区二区三区免费看| 国产精品免费久久久久| 99麻豆久久久国产精品免费 | 国产米奇在线777精品观看| 久久综合av免费| 成人一区二区三区视频| 最新日韩在线视频| 欧美日韩午夜影院| 六月丁香婷婷久久| 国产人成一区二区三区影院| 91蜜桃视频在线| 日本亚洲天堂网| 2017欧美狠狠色| 色哟哟国产精品免费观看| 午夜在线成人av| 久久综合资源网| 91猫先生在线| 精品在线视频一区| 国产精品久久久久久久久快鸭| 一本在线高清不卡dvd| 奇米精品一区二区三区在线观看一| 精品成人免费观看| 97久久久精品综合88久久| 日韩高清不卡一区二区三区| 国产清纯在线一区二区www| 欧美视频一区二区三区在线观看| 麻豆国产欧美一区二区三区| 中文字幕制服丝袜成人av| 欧美性videosxxxxx| 粉嫩av一区二区三区| 亚洲va欧美va人人爽午夜| 中文字幕第一区| 日韩欧美综合一区| 在线亚洲人成电影网站色www| 免费av成人在线| 亚洲中国最大av网站| 国产亚洲精品bt天堂精选| 91九色最新地址| 国产成人免费视频| 蜜桃久久av一区| 亚洲欧美电影院| 久久久久久一级片| 欧美一区二区三区视频在线| 日本高清不卡在线观看| 成人免费视频app| 国内一区二区视频| 青青青伊人色综合久久| 亚洲最大成人综合| 国产精品传媒入口麻豆| 久久午夜羞羞影院免费观看| 337p亚洲精品色噜噜狠狠| 欧美性大战xxxxx久久久| 91丨porny丨户外露出| 国产91对白在线观看九色| 日本美女一区二区| 美女脱光内衣内裤视频久久网站 | 日韩精品一区在线| 欧美日韩另类一区| 在线观看国产一区二区| 色综合欧美在线视频区| 91在线无精精品入口| 成人精品一区二区三区四区| 国产精品一级二级三级| 国产激情偷乱视频一区二区三区| 精品制服美女久久| 国模少妇一区二区三区| 久久激情综合网| 国内精品免费在线观看| 国产精品一区三区| 国产成人亚洲综合色影视| 国产精品亚洲一区二区三区妖精| 精品一区中文字幕| 国产精品一二二区| 成人性生交大合| 色综合天天天天做夜夜夜夜做| 99久久久精品| 欧美日韩一区二区三区免费看| 欧美日韩国产一二三| 欧美一级国产精品| 欧美电影免费观看完整版| 久久人人97超碰com| 中文无字幕一区二区三区| 国产精品成人网| 亚洲一区在线视频| 日韩影院免费视频| 激情欧美一区二区三区在线观看| 国产高清精品网站| 成人免费福利片| 在线视频你懂得一区| 日韩欧美在线123| 欧美激情一区二区| 一区二区三区影院| 蜜乳av一区二区三区| 丁香婷婷综合色啪| 欧美日韩三级在线| 久久综合精品国产一区二区三区| 国产精品久久久久久户外露出| 亚洲高清免费在线| 国产一区二区三区四区在线观看| 91原创在线视频| 欧美一区二区三区喷汁尤物| 精品久久人人做人人爽| 国产精品久久久久一区二区三区 | 美女视频一区二区| av在线综合网| 精品欧美久久久| 一区二区三区美女| 国产一区二区不卡老阿姨| 8v天堂国产在线一区二区| 国产亚洲精品久| 美女mm1313爽爽久久久蜜臀|