代码搜索结果
找到约 50,122 项符合
Button 的代码
button-sensor.c
#include "dev/button-sensor.h"
const struct sensors_sensor button_sensor;
/*---------------------------------------------------------------------------*/
void
button_press(void)
{
sensors_changed
button-sensor.h
#ifndef __BUTTON_SENSOR_H__
#define __BUTTON_SENSOR_H__
#include "lib/sensors.h"
extern const struct sensors_sensor button_sensor;
#define BUTTON_SENSOR "Button"
void button_press(void);
#endif /
button-sensor.c
#include "dev/button-sensor.h"
const struct sensors_sensor button_sensor;
/*---------------------------------------------------------------------------*/
void
button_press(void)
{
sensors_changed
button.h
#ifndef BUTTON_H
#define BUTTON_H
#include
class Button : public QToolButton
{
Q_OBJECT
public:
Button(const QString &text, const QColor &color, QWidget *parent = 0);
QS
button.cpp
#include
#include "button.h"
Button::Button(const QString &text, const QColor &color, QWidget *parent)
: QToolButton(parent)
{
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Pr
button.java
/*
* @(#)Button.java 1.43 98/07/01
*
* Copyright 1995-1998 by Sun Microsystems, Inc.,
* 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
* All rights reserved.
*
* This softwa
button.c
#include
#include
#include
String app_resources[] = {
"*Command.Label: Click left mouse button", NULL,
};
XrmOptionDescRec options[] = {
button.hxx
// Button.hxx
//
#ifndef Button__hxx
#define Button__hxx
#include
#include "Component.hxx"
typedef void (*button_callback)(void);
class Button : public Component {
public:
Butto
button.cpp
// Button.cpp
//
#include
#include
#include
#include "Button.hxx"
static void callback(Widget w, caddr_t data1, caddr_t data2) {
Button * b