下压按钮跳过这个动画,并提出立即的时间。
Pressing the lower button skips this animation and presents the time immediately.
但是下压按钮的整个目标是在它被激活时触发一个动作。
But the whole point of a push-button is to trigger an action when it is activated.
因为我实现的是一个下压按钮,最好是能够在鼠标点到按钮图像上的时候,让用户有压下按钮的感受。
Since I am implementing a push-button, I better do something so the user has the visual impression of pushing a button when the mouse is clicked over the button graphic.
现在,我们的下压按钮实现已经完成了,我可以创建一个非常简单的应用程序,其内部构造(而不是RCC定义和其他需要的SVG标记)如下所示。
Now that the implementation of my push-button is complete, I can create a very simple application, the guts of which (other than the RCC definitions and other required SVG markup) look like this.
现在,我们的下压按钮实现已经完成了,我可以创建一个非常简单的应用程序,其内部构造(而不是RCC定义和其他需要的SVG标记)如下所示。
Now that the implementation of my push-button is complete, I can create a very simple application, the guts of which (other than the RCC definitions and other required SVG markup) look like this.
应用推荐