<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="AD_TextStyle.aspx.cs" Inherits="MYAPP.Manage.Project.Design.Tour.AD_TextStyle" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="/CSS/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/date.js"></script>
<script type="text/javascript" src="/js/coe.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script src="/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
</script>
<link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body onLoad="top.selectbyvalue('textstyle_<%=_ROW%>');">
<form id="theform" runat="server">
  <table width="100%" cellspacing="2" border="1" align="center" cellpadding="0" bordercolor="#CCCCCC"
            class="board_kong">
    <tr>
      <td><table cellspacing="1" cellpadding="0" width="100%" border="0">
          <tr>
            <td style="border-bottom: #CCCCCC 1px solid; height: 24px"><table class="title_table">
                <tr>
                  <td class="l_title"><a href="http://www.krpano.com/docu/xml/#textstyle" target="_blank">[TextStyle]</a></td>
                  <td width="100" align="center" class="l_title">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td><div id="TabbedPanels1" class="TabbedPanels">
                <ul class="TabbedPanelsTabGroup">
                  <li class="TabbedPanelsTab" tabindex="0"><a href="http://www.krpano.com/docu/xml/#textstyle">General</a></li>
                </ul>
                <div class="TabbedPanelsContentGroup">
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request"> name:</td>
                        <td align="left"><asp:TextBox ID="name" runat="server" Columns="30" Text='DEFAULT' />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="name"
                                                            Display="Dynamic" ErrorMessage="name" SetFocusOnError="True">*</asp:RequiredFieldValidator>
                          name of the textstyle, use DEFAULT to overwrite the default settings </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">font:</td>
                        <td align="left"><asp:TextBox Columns="60" ID="font" runat="server" Text='Arial, Helvetica, sans-serif' />
                        The name of the font. </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">fontsize:</td>
                        <td align="left"><asp:TextBox Columns="10" ID="fontsize" runat="server" Text='12' />
                        The point size of the text. </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">background:</td>
                        <td align="left"><asp:CheckBox ID="background" runat="server" Text='background' Checked="true" />
                          backgroundcolor:
                          <asp:TextBox Columns="8" ID="backgroundcolor" runat="server" Text='0xFFFFFF' />
                          <img border="0" src="/images/pickcolor.gif" width="18" onclick="selColor(backgroundcolor,this)" />The color of the text field background </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">border:</td>
                        <td align="left"><asp:CheckBox ID="border" Text="border" runat="server" Checked="true" />
                          bordercolor：
                          <asp:TextBox ID="bordercolor" Columns="10" runat="server" Text='0x000000' />
                        <img border="0" src="/images/pickcolor.gif" width="18" onclick="selColor(bordercolor,this)" />The color of the text field border </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">textcolor:</td>
                        <td align="left"><asp:TextBox Columns="10" ID="textcolor" runat="server" Text='0x000000' />
                        <img border="0" src="/images/pickcolor.gif" width="18" onclick="selColor(textcolor,this)" />                        The color of the text in a text field </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">alpha:</td>
                        <td align="left"><asp:TextBox Columns="10" ID="alpha" runat="server" Text='0.8' />
                        alpha transparency value (0-1) </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">blendmode:</td>
                        <td align="left"><asp:DropDownList ID="blendmode" runat="server">
                            <asp:ListItem value="NORMAL">NORMAL</asp:ListItem>
                            <asp:ListItem value="LAYER">LAYER</asp:ListItem>
                            <asp:ListItem value="MULTIPLY">MULTIPLY</asp:ListItem>
                            <asp:ListItem value="SCREEN">SCREEN</asp:ListItem>
                            <asp:ListItem value="LIGHTEN">LIGHTEN</asp:ListItem>
                            <asp:ListItem value="DARKEN">DARKEN</asp:ListItem>
                            <asp:ListItem value="DIFFERENCE">DIFFERENCE</asp:ListItem>
                            <asp:ListItem value="ADD">ADD</asp:ListItem>
                            <asp:ListItem value="SUBTRACT">SUBTRACT</asp:ListItem>
                            <asp:ListItem value="INVERT">INVERT</asp:ListItem>
                            <asp:ListItem value="ALPHA">ALPHA</asp:ListItem>
                            <asp:ListItem value="ERASE">ERASE</asp:ListItem>
                            <asp:ListItem value="OVERLAY">OVERLAY</asp:ListItem>
                            <asp:ListItem value="HARDLIGHT">HARDLIGHT</asp:ListItem>
                          </asp:DropDownList>
                          some modes: &quot;normal&quot;, &quot;add&quot;, &quot;difference&quot;, &quot;multiply&quot;, &quot;screen&quot;   ...<br />
                          default=&quot;normal&quot;<br />
                          <br />
                          look here for all available modes:<br />
                                <a href="http://livedocs.adobe.com/flex/201/langref/flash/display/BlendMode.html" target="_blank">http://livedocs.adobe.com/.../BlendMode.html</a><br />
                          and here for   their working:<br />
                                <a href="http://livedocs.adobe.com/flex/201/langref/flash/display/DisplayObject.html#blendMode" target="_blank">http://livedocs.adobe.com/.../DisplayObject.html#blendMode</a></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">effect:</td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="effect" runat="server" TextMode="MultiLine" Rows="4" />
                          bitmap effects, can be any combination of this effect functions:<br />
                          <ul>
                            <li>glow(color,alpha,range,strength); </li>
                            <li>dropshadow(depth,angle,color,range,strength); </li>
                            <li>blur(radius); </li>
                        </ul>
                        <span style="color: #F00">example:</span> glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">fadetime:</td>
                        <td align="left"><asp:TextBox ID="fadetime" Text="0" runat="server" Columns="10" />
                        set the time for a fadeout in seconds (default=&quot;0&quot; - no fadeout) </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">fadeintime:</td>
                        <td align="left"><asp:TextBox ID="fadeintime" Text="0" runat="server" Columns="10" />                      
                          set the time for a fadein in seconds (default=&quot;0&quot; - no fadeout) </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">origin:</td>
                        <td align="left" nowrap="nowrap"><asp:DropDownList ID="origin" runat="server">
                        <asp:ListItem value="cursor">cursor</asp:ListItem>
                            <asp:ListItem value="lefttop">lefttop</asp:ListItem>
                            <asp:ListItem value="left">left</asp:ListItem>
                            <asp:ListItem value="leftbottom">leftbottom</asp:ListItem>
                            <asp:ListItem value="top">top</asp:ListItem>
                            <asp:ListItem value="center">center</asp:ListItem>
                            <asp:ListItem value="bottom">bottom</asp:ListItem>
                            <asp:ListItem value="righttop">righttop</asp:ListItem>
                            <asp:ListItem value="right">right</asp:ListItem>
                            <asp:ListItem value="rightbottom">rightbottom</asp:ListItem>
                          </asp:DropDownList>
                          &quot;cursor&quot; - set textposition to mouse cursor (=default)<br />
                          for a fixed positon on   screen use one of these values:<br />
                          &quot;lefttop&quot;, &quot;left&quot;, &quot;leftbottom&quot;, &quot;top&quot;,   &quot;center&quot;, &quot;bottom&quot;, &quot;righttop&quot;, &quot;right&quot;, &quot;rightbottom&quot;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">edge:</td>
                        <td align="left" nowrap="nowrap"><asp:DropDownList ID="edge" runat="server">
                            <asp:ListItem value="lefttop">lefttop</asp:ListItem>
                            <asp:ListItem value="left">left</asp:ListItem>
                            <asp:ListItem value="leftbottom">leftbottom</asp:ListItem>
                            <asp:ListItem value="top">top</asp:ListItem>
                            <asp:ListItem value="center">center</asp:ListItem>
                            <asp:ListItem value="bottom">bottom</asp:ListItem>
                            <asp:ListItem value="righttop">righttop</asp:ListItem>
                            <asp:ListItem value="right">right</asp:ListItem>
                            <asp:ListItem value="rightbottom">rightbottom</asp:ListItem>
                          </asp:DropDownList>
                          edge/origin positon on the text itself, default=&quot;bottom&quot; </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">textalign:</td>
                        <td align="left"><asp:DropDownList ID="textalign" runat="server">
                        <asp:ListItem value="none">none</asp:ListItem>
                            <asp:ListItem value="left">left</asp:ListItem>
                            <asp:ListItem value="center">center</asp:ListItem>
                            <asp:ListItem value="right">right</asp:ListItem>
                          </asp:DropDownList>
                          align of the text: &quot;none&quot;, &quot;left&quot;, &quot;center&quot;, &quot;right&quot; (default=&quot;none&quot;) </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">xyoffset:</td>
                        <td align="left">xoffset
                          <asp:TextBox ID="xoffset" Text="0" Columns="10" runat="server" />
                          x offset of text (default=&quot;0&quot;) <br />
                          yoffset:
                        <asp:TextBox ID="yoffset" Text="-3" Columns="10" runat="server" />
                        y offset of text (default=&quot;-3&quot;) </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">showtime:</td>
                        <td align="left"><asp:TextBox ID="showtime" Text="0.1" runat="server" Columns="10" />
                        time to the show the text in seconds (default=&quot;0,1&quot;) </td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">Property:</td>
                        <td align="left"><asp:CheckBox ID="bold" runat="server" Text='bold' />
                          <asp:CheckBox ID="italic" Text="italic" runat="server" />
                          <asp:CheckBox ID="noclip" runat="server" Text='noclip' Checked="true" />
                          avoid clipping of text on screen borders (default=true) </td>
                      </tr>
                    </table>
                  </div>
                </div>
              </div></td>
          </tr>
          <tr>
            <td height="26" align="center"><asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="True" ShowSummary="False" />
              <asp:Button CssClass="width80px" ID="ButPost" runat="server" Text="提交保存" OnClick="ButPost_Click" />
              <input name="Submit" type="reset" class="width80px" value="重置" />
              <input name="ButReturn" type="button" class="width80px" id="ButReturn" onclick="window.location='<%=MyApp.Components.NavUrl.GetUrl(2)%>'" value="返回" /></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
<script type="text/javascript">
<!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
    </script>
</body>
</html>
