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

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

?? notebook.tcl

?? Linux下的MSN聊天程序源碼
?? TCL
?? 第 1 頁 / 共 3 頁
字號:
	# The selected page's text is raised higher than the others	incr top -2    }    # Precompute some coord values that we use a lot    set topPlusRadius	[expr {$top + $arcRadius}]    set rightPlusRadius	[expr {$xf + $arcRadius}]    set leftPlusRadius	[expr {$xd + $arcRadius}]    # Sven    set side [Widget::cget $path -side]    set tabsOnBottom [string equal $side "bottom"]    set h1 [expr {[winfo height $path]}]    set bd [Widget::cget $path -borderwidth]    if {$bd < 1} { set bd 1 }    if { $tabsOnBottom } {	set top [expr {$top * -1}]	set topPlusRadius [expr {$topPlusRadius * -1}]	# Hrm... the canvas has an issue with drawing diagonal segments	# of lines from the bottom to the top, so we have to draw this line	# backwards (ie, lt is actually the bottom, drawn from right to left)        set lt  [list \		$rightPlusRadius			[expr {$h1-$h-1}] \		[expr {$rightPlusRadius - $xBevel}]	[expr {$h1 + $topPlusRadius}] \		[expr {$xf - $xBevel}]			[expr {$h1 + $top}] \		[expr {$leftPlusRadius + $xBevel}]	[expr {$h1 + $top}] \		]        set lb  [list \		[expr {$leftPlusRadius + $xBevel}]	[expr {$h1 + $top}] \		[expr {$xd + $xBevel}]			[expr {$h1 + $topPlusRadius}] \		$xd					[expr {$h1-$h-1}] \		]	# Because we have to do this funky reverse order thing, we have to	# swap the top/bottom colors too.	set tmp $fgt	set fgt $fgb	set fgb $tmp    } else {	set lt [list \		$xd					$h \		[expr {$xd + $xBevel}]			$topPlusRadius \		[expr {$leftPlusRadius + $xBevel}]	$top \		[expr {$xf + 1 - $xBevel}]		$top \		]	set lb [list \		[expr {$xf + 1 - $xBevel}] 		[expr {$top + 1}] \		[expr {$rightPlusRadius - $xBevel}]	$topPlusRadius \		$rightPlusRadius			$h \		]    }    set img [Widget::cget $path.f$page -image]    set ytext $top    if { $tabsOnBottom } {	# The "+ 2" below moves the text closer to the bottom of the tab,	# so it doesn't look so cramped.  I should be able to achieve the	# same goal by changing the anchor of the text and using this formula:	# ytext = $top + $h1 - $textOffsetY	# but that doesn't quite work (I think the linespace from the text	# gets in the way)	incr ytext [expr {$h1 - $h + 2}]    }    incr ytext $textOffsetY    set xtext [expr {$xd + $textOffsetX}]    if { $img != "" } {	# if there's an image, put it on the left and move the text right	set ximg $xtext	incr xtext [expr {[image width $img] + 2}]    }	    if { $data(select) == $page } {        set bd    [Widget::cget $path -borderwidth]	if {$bd < 1} { set bd 1 }        set fg    [_getoption $path $page -foreground]    } else {        set bd    1        if { [Widget::cget $path.f$page -state] == "normal" } {            set fg [_getoption $path $page -foreground]        } else {            set fg [_getoption $path $page -disabledforeground]        }    }    # --- creation ou modification de l'onglet --------------------------------    # Sven    if { $create } {	# Create the tab region        eval [list $path.c create polygon] [concat $lt $lb] [list \		-tags		[list page p:$page $page:poly] \		-outline	$bg \		-fill		$bg \		]        eval [list $path.c create line] $lt [list \            -tags [list page p:$page $page:top top] -fill $fgt -width $bd]        eval [list $path.c create line] $lb [list \            -tags [list page p:$page $page:bot bot] -fill $fgb -width $bd]        $path.c create text $xtext $ytext 			\		-text	[Widget::cget $path.f$page -text]	\		-font	[Widget::cget $path -font]		\		-fill	$fg					\		-anchor	nw					\		-tags	[list page p:$page $page:text]        $path.c bind p:$page <ButtonPress-1> \		[list NoteBook::_select $path $page]        $path.c bind p:$page <Enter> \		[list NoteBook::_highlight on  $path $page]        $path.c bind p:$page <Leave> \		[list NoteBook::_highlight off $path $page]    } else {        $path.c coords "$page:text" $xtext $ytext        $path.c itemconfigure "$page:text" \            -text [Widget::cget $path.f$page -text] \            -font [Widget::cget $path -font] \            -fill $fg    }    eval [list $path.c coords "$page:poly"] [concat $lt $lb]    eval [list $path.c coords "$page:top"]  $lt    eval [list $path.c coords "$page:bot"]  $lb    $path.c itemconfigure "$page:poly" -fill $bg  -outline $bg    $path.c itemconfigure "$page:top"  -fill $fgt -width $bd    $path.c itemconfigure "$page:bot"  -fill $fgb -width $bd        # Sven end    if { $img != "" } {        # Sven	set id [$path.c find withtag $page:img]	if { [string equal $id ""] } {	    set id [$path.c create image $ximg $ytext \		    -anchor nw    \		    -tags   [list page p:$page $page:img]]        }        $path.c coords $id $ximg $ytext        $path.c itemconfigure $id -image $img        # Sven end    } else {        $path.c delete $page:img    }    if { $data(select) == $page } {        $path.c raise p:$page    } elseif { $pos == 0 } {        if { $data(select) == "" } {            $path.c raise p:$page        } else {            $path.c lower p:$page p:$data(select)        }    } else {        set pred [lindex $data(pages) [expr {$pos-1}]]        if { $data(select) != $pred || $pos == 1 } {            $path.c lower p:$page p:$pred        } else {            $path.c lower p:$page p:[lindex $data(pages) [expr {$pos-2}]]        }    }}# -----------------------------------------------------------------------------#  Command NoteBook::_draw_arrows# -----------------------------------------------------------------------------proc NoteBook::_draw_arrows { path } {    variable _warrow    variable $path    upvar 0  $path data    set w       [expr {[winfo width $path]-1}]    set h       [expr {$data(hpage)-1}]    set nbpages [llength $data(pages)]    set xl      0    set xr      [expr {$w-$_warrow+1}]    # Sven    set side [Widget::cget $path -side]    if { [string equal $side "bottom"] } {        set h1 [expr {[winfo height $path]-1}]        set bd [Widget::cget $path -borderwidth]	if {$bd < 1} { set bd 1 }        set y0 [expr {$h1 - $data(hpage) + $bd}]    } else {        set y0 1    }    # Sven end (all y positions where replaced with $y0 later)    if { $data(base) > 0 } {        # Sven         if { ![llength [$path.c find withtag "leftarrow"]] } {            $path.c create window $xl $y0 \                -width  $_warrow            \                -height $h                  \                -anchor nw                  \                -window $path.c.fg            \                -tags   "leftarrow"        } else {            $path.c coords "leftarrow" $xl $y0            $path.c itemconfigure "leftarrow" -width $_warrow -height $h        }        # Sven end    } else {        $path.c delete "leftarrow"    }    if { $data(base) < $nbpages-1 &&         $data(wpage) + [_get_x_page $path 0] + 6 > $w } {        # Sven        if { ![llength [$path.c find withtag "rightarrow"]] } {            $path.c create window $xr $y0 \                -width  $_warrow            \                -height $h                  \                -window $path.c.fd            \                -anchor nw                  \                -tags   "rightarrow"        } else {            $path.c coords "rightarrow" $xr $y0            $path.c itemconfigure "rightarrow" -width $_warrow -height $h        }        # Sven end    } else {        $path.c delete "rightarrow"    }}# -----------------------------------------------------------------------------#  Command NoteBook::_draw_area# -----------------------------------------------------------------------------proc NoteBook::_draw_area { path } {    variable $path    upvar 0  $path data    set w   [expr {[winfo width  $path] - 1}]    set h   [expr {[winfo height $path] - 1}]    set bd  [Widget::cget $path -borderwidth]    if {$bd < 1} { set bd 1 }    set x0  [expr {$bd - 1}]    set arcRadius [Widget::cget $path -arcradius]    # Sven    set side [Widget::cget $path -side]    if {"$side" == "bottom"} {        set y0 0        set y1 [expr {$h - $data(hpage)}]        set yo $y1    } else {        set y0 $data(hpage)        set y1 $h        set yo [expr {$h-$y0}]    }    # Sven end    set dbg $data(dbg)    set sel $data(select)    if {  $sel == "" } {        set xd  [expr {$w/2}]        set xf  $xd        set lbg $data(dbg)    } else {        set xd [_get_x_page $path [lsearch -exact $data(pages) $data(select)]]        set xf [expr {$xd + $data($sel,width) + $arcRadius + 1}]        set lbg $data(lbg)    }    # Sven    if { [llength [$path.c find withtag rect]] == 0} {        $path.c create line $xd $y0 $x0 $y0 $x0 $y1 \            -tags "rect toprect1"         $path.c create line $w $y0 $xf $y0 \            -tags "rect toprect2"        $path.c create line 1 $h $w $h $w $y0 \            -tags "rect botrect"    }    if {"$side" == "bottom"} {        $path.c coords "toprect1" $w $y0 $x0 $y0 $x0 $y1        $path.c coords "toprect2" $x0 $y1 $xd $y1        $path.c coords "botrect"  $xf $y1 $w $y1 $w $y0        $path.c itemconfigure "toprect1" -fill $lbg -width $bd        $path.c itemconfigure "toprect2" -fill $dbg -width $bd        $path.c itemconfigure "botrect" -fill $dbg -width $bd    } else {        $path.c coords "toprect1" $xd $y0 $x0 $y0 $x0 $y1        $path.c coords "toprect2" $w $y0 $xf $y0        $path.c coords "botrect"  $x0 $h $w $h $w $y0        $path.c itemconfigure "toprect1" -fill $lbg -width $bd        $path.c itemconfigure "toprect2" -fill $lbg -width $bd        $path.c itemconfigure "botrect" -fill $dbg -width $bd    }    $path.c raise "rect"    # Sven end    if { $sel != "" } {        # Sven        if { [llength [$path.c find withtag "window"]] == 0 } {            $path.c create window 2 [expr {$y0+1}] \                -width  [expr {$w-3}]           \                -height [expr {$yo-3}]          \                -anchor nw                      \                -tags   "window"                \                -window $path.f$sel        }        $path.c coords "window" 2 [expr {$y0+1}]        $path.c itemconfigure "window"    \            -width  [expr {$w-3}]           \            -height [expr {$yo-3}]          \            -window $path.f$sel        # Sven end    } else {        $path.c delete "window"    }}# -----------------------------------------------------------------------------#  Command NoteBook::_resize# -----------------------------------------------------------------------------proc NoteBook::_resize { path } {    variable $path    upvar 0  $path data    if {!$data(realized)} {	if { [set width  [Widget::cget $path -width]]  == 0 ||	     [set height [Widget::cget $path -height]] == 0 } {	    compute_size $path	}	set data(realized) 1    }    NoteBook::_redraw $path}# Tree::_set_help --##	Register dynamic help for a node in the tree.## Arguments:#	path		Tree to query#	node		Node in the tree#       force		Optional argument to force a reset of the help## Results:#	none# Tree::_set_help --##	Register dynamic help for a node in the tree.## Arguments:#	path		Tree to query#	node		Node in the tree#       force		Optional argument to force a reset of the help## Results:#	noneproc NoteBook::_set_help { path page } {    Widget::getVariable $path help    set item $path.f$page    set opts [list -helptype -helptext -helpvar]    foreach {cty ctx cv} [eval [list Widget::hasChangedX $item] $opts] break    set text [Widget::getoption $item -helptext]    ## If we've never set help for this item before, and text is not blank,    ## we need to setup help.  We also need to reset help if any of the    ## options have changed.    if { (![info exists help($page)] && $text != "") || $cty || $ctx || $cv } {	set help($page) 1	set type [Widget::getoption $item -helptype]        switch $type {            balloon {		DynamicHelp::register $path.c balloon p:$page $text            }            variable {		set var [Widget::getoption $item -helpvar]		DynamicHelp::register $path.c variable p:$page $var $text            }        }    }}proc NoteBook::_get_page_name { path {item current} {tagindex end-1} } {    return [string range [lindex [$path.c gettags $item] $tagindex] 2 end]}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日本视频在线| 韩国一区二区视频| 91看片淫黄大片一级在线观看| 国产视频911| 成人av电影在线观看| 国产精品国产三级国产有无不卡| 91免费看片在线观看| 亚洲成人av一区二区三区| 欧美色手机在线观看| 日本一道高清亚洲日美韩| 精品少妇一区二区三区日产乱码| 韩国女主播一区| ...中文天堂在线一区| 欧美在线免费视屏| 麻豆成人免费电影| 欧美国产日韩精品免费观看| 一本久久精品一区二区| 日韩电影在线看| 久久精品视频免费观看| 色婷婷综合久久久中文一区二区| 午夜免费久久看| 精品国产麻豆免费人成网站| gogo大胆日本视频一区| 婷婷中文字幕综合| 欧美国产乱子伦| 精品视频在线视频| 国产一区在线观看麻豆| 一区二区三区四区视频精品免费| 欧美一区二区三区免费视频| 成人网在线播放| 五月婷婷激情综合| 国产精品久久久久婷婷二区次| 欧美曰成人黄网| 国产自产高清不卡| 一区二区三区中文在线观看| 精品999久久久| 在线观看国产91| 床上的激情91.| 免费观看日韩av| 一区二区三区国产精品| 精品对白一区国产伦| 欧美色区777第一页| 成人精品免费看| 精品一二三四区| 一级日本不卡的影视| 久久亚洲私人国产精品va媚药| 色呦呦网站一区| 国产99一区视频免费| 男女男精品网站| 亚洲综合色在线| 亚洲视频一区二区在线观看| 精品国产污污免费网站入口| 欧美乱妇20p| 色婷婷一区二区三区四区| 懂色av噜噜一区二区三区av| 美女视频黄 久久| 午夜精品福利一区二区三区av| 中文字幕在线不卡国产视频| 久久久久国产精品人| 日韩欧美国产一区二区在线播放| 欧美专区日韩专区| 91丨porny丨蝌蚪视频| 成人黄页毛片网站| 国产成人精品在线看| 国产一区二区三区av电影| 精品一区免费av| 蜜桃av噜噜一区| 免费在线观看一区二区三区| 日韩中文字幕区一区有砖一区| 亚洲综合免费观看高清完整版在线| 国产精品久久久久久久岛一牛影视 | 亚洲日本在线天堂| 国产精品女上位| 国产精品亲子乱子伦xxxx裸| 日本一区二区三区dvd视频在线| 精品精品欲导航| 久久五月婷婷丁香社区| 久久蜜桃一区二区| 国产亚洲欧美色| 中文字幕乱码日本亚洲一区二区| 久久久久久久久久久久电影 | 国产精品国模大尺度视频| 中文字幕第一页久久| 中文字幕成人网| 亚洲成av人片观看| 日本中文字幕一区二区视频 | 欧美乱妇23p| 欧美一区二区国产| 精品国产网站在线观看| 欧美精品一区二区蜜臀亚洲| 久久精品网站免费观看| 中文字幕亚洲一区二区av在线| 1024亚洲合集| 天天免费综合色| 免费人成黄页网站在线一区二区| 韩国欧美国产1区| av爱爱亚洲一区| 欧美色图片你懂的| 欧美成人三级电影在线| 久久精品视频免费观看| 自拍偷拍亚洲综合| 亚洲电影中文字幕在线观看| 蜜桃视频免费观看一区| 国产成a人无v码亚洲福利| 色婷婷综合中文久久一本| 欧美一区二区免费视频| 国产女人水真多18毛片18精品视频| **网站欧美大片在线观看| 五月综合激情网| 国产精品一区二区久久精品爱涩| www.亚洲色图| 日韩一区二区三区免费看| 欧美精彩视频一区二区三区| 亚洲精品免费在线| 狠狠色丁香九九婷婷综合五月| 波多野结衣亚洲| 欧美一区二区观看视频| 1024成人网| 精品一区二区三区香蕉蜜桃| 91在线国内视频| 欧美sm极限捆绑bd| 一区二区三区四区av| 国产美女一区二区三区| 欧美色欧美亚洲另类二区| 久久精品一二三| 亚洲午夜电影网| 成人一道本在线| 日韩免费电影一区| 亚洲精品视频在线观看免费| 精品一区二区三区久久久| 91福利精品第一导航| 国产日韩成人精品| 日韩精品一区二区三区视频播放| 日韩一区在线免费观看| 精品一区二区三区免费毛片爱| 色乱码一区二区三区88| 久久人人爽爽爽人久久久| 偷偷要91色婷婷| 色久综合一二码| 国产欧美一区二区三区鸳鸯浴| 高清久久久久久| 欧美一区二区在线免费观看| 亚洲欧美日韩国产综合| 国产乱码字幕精品高清av| 91精品国产综合久久精品app| 亚洲欧美日韩国产综合在线| 国产成人午夜精品5599| 日韩欧美国产午夜精品| 亚洲第一福利一区| 色婷婷久久99综合精品jk白丝| 国产日产欧美一区二区三区 | 久久综合九色综合欧美98| 五月激情综合婷婷| 在线视频一区二区三区| 国产精品美女久久久久久久久 | 久久嫩草精品久久久精品一| 亚洲国产成人av网| 色噜噜狠狠成人中文综合| 亚洲欧美偷拍另类a∨色屁股| 国产风韵犹存在线视精品| 日韩精品一区在线观看| 日韩极品在线观看| 欧美日韩国产影片| 亚洲风情在线资源站| 欧美日韩国产在线观看| 亚洲国产精品影院| 欧美日韩国产首页| 婷婷成人激情在线网| 欧美另类高清zo欧美| 日韩av在线发布| 精品久久久久久久久久久久包黑料| 奇米精品一区二区三区在线观看 | 欧美96一区二区免费视频| 欧美日韩国产成人在线免费| 亚洲高清久久久| 91精品国产91久久久久久最新毛片| 午夜一区二区三区在线观看| 4438成人网| 久久电影网站中文字幕| 久久久久成人黄色影片| 国产成人免费在线视频| 国产精品国产三级国产aⅴ中文| 99精品国产热久久91蜜凸| 一区二区三区四区国产精品| 欧美二区在线观看| 九九久久精品视频| 国产日韩欧美电影| 一本久久精品一区二区| 日韩国产在线观看| 2020国产精品久久精品美国| 丰满亚洲少妇av| 亚洲一级电影视频| 日韩欧美三级在线| 成人h版在线观看| 亚洲最快最全在线视频| 中文字幕免费观看一区| 一本到高清视频免费精品| 天堂影院一区二区| 久久精品欧美一区二区三区不卡| 91亚洲永久精品|