代码搜索结果
找到约 50,122 项符合
Button 的代码
button.c
#include
#include
#include
#include
#include
#include
#include
typedef struct Button Button;
struct Button
{
Control;
CImage *
button.pas
unit Button;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, StdCtrls;
type
TMainForm = class(TForm)
BtDisplay: TButt
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
button.c
/* File: button.c -- Button type widgets
*
* Copyright (C) 1993 Johannes Ruscheinski
* Copyright (C) 1993 David Metcalfe
* Copyright (C) 1994 Alexandre Julliard
*
* This library is free so
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-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