idirectfbdisplaylayer_setcursoropacity.html

来自「DirectFB的使用手册 DirectFB——建立在framebuffer基」· HTML 代码 · 共 56 行

HTML
56
字号
<HTML><STYLE>  <!--    A{textdecoration:none}  --></STYLE><STYLE type="text/css">  A:link, A:visited, A:active { text-decoration: none; }</STYLE><HEAD>  <TITLE>IDirectFBDisplayLayer - SetCursorOpacity [DirectFB Reference Manual]</TITLE></HEAD><BODY bgcolor=#FFFFFF link=#0070FF vlink=#0070FF text=#404040><TABLE width=100% bgcolor=black border=0 cellspacing=1 cellpadding=3>  <TR><TD width=30%>    <A href="http://www.directfb.org"><IMG border=0 src="directfb.png"></A>  </TD><TD align=right>    &nbsp;&nbsp;    <A href="index.html"><FONT size=+3 color=white>Reference Manual - 0.9.25</FONT></A>  </TD></TR>  <TR><TD colspan=2 align=center bgcolor=#303030>    <TABLE border=0 cellspacing=0 cellpadding=0>      <TR><TD nowrap align=right width=50%>        <BIG><A href="IDirectFBDisplayLayer.html"><FONT color=#DDDDDD>IDirectFBDisplayLayer</FONT></A>&nbsp;</BIG>      </TD><TD nowrap align=left width=50%>        <BIG><FONT color=orange>&nbsp;SetCursorOpacity</FONT></BIG>      </TD></TR>    </TABLE>  </TD></TR></TABLE><P> Set the cursor opacity.</P><P>  <TABLE border=0 cellspacing=0 cellpadding=2 bgcolor=#C0C0C0>    <TR><TD colspan=5><I><FONT color=black>SetCursorOpacity (</FONT></I></TD></TR>    <TR><TD width=50>&nbsp;</TD><TD valign=top>      <A href="IDirectFBDisplayLayer.html">IDirectFBDisplayLayer</A>    </TD><TD width=20>&nbsp;</TD><TD align=right>      <FONT color=black><B>*</B></FONT>    </TD><TD valign=top>      <FONT color=black><B>thiz,</B></FONT>    </TD></TR>    <TR><TD width=50>&nbsp;</TD><TD valign=top>      __u8    </TD><TD width=20>&nbsp;</TD><TD align=right>      <FONT color=black><B></B></FONT>    </TD><TD valign=top>      <FONT color=black><B>opacity</B></FONT>    </TD></TR>    <TR><TD colspan=3><I><FONT color=black>);</FONT></I></TD></TR>  </TABLE></P><P> This function is especially useful if you want to hide the cursor but still want windows on this display layer to receive motion events. In this case, simply set the cursor opacity to zero.</P></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?