Herunterladen Diese Seite drucken

Siemens SINUMERIK 810D Funktionsbeschreibung Seite 151

Projektierung bedienoberfläche op 030
Vorschau ausblenden Andere Handbücher für SINUMERIK 810D:

Werbung

09.01
APP_MENU.C
APP_WIN1.C
© Siemens AG 2001 All Rights Reserved
SINUMERIK 840D/810D Projektierung Bedienoberfläche OP030 (FBO) Ausgabe 09.01
Beispiel:
#include "proj.h"
#include "mwl_app.h"
#include "OEM_1.h"
BEGIN_MENU (M_MENU_1)
M_CLEAR_BACKGROUND,/*
0,
W_WIN_1,
X_M_INI, Y_M_INI,
WIDTH_M_INI, HEIGHT_M_INI, /* width and height of menu area */
BK_CL_FCOL,
NULL,
NULL
END_MENU (M_MENU_1)
Beispiel:
#include "proj.h"
#include "mwl_app.h"
#include "OEM_1.h"
BEGIN_OBJECT_LIST (OB_WIN_1)
/* clearing and repainting window rectangle */
RECTANGLE (100,
BEGIN_X, BEGIN_Y,
WIDTH_M_INI, HEIGHT_M_INI,
FILLED,
W_FCOL,
0xff)
/* painting window header */
RECTANGLE (110, BEGIN_X, BEGIN_Y, WIDTH_M_INI, HEADER,
FILLED, W_HL_FCOL, 0xff)
/* printing window header text */
TEXT (120,
HEADER_X, HEADER_Y,
T_APP_WIN_1_HEADER,
CS_SMALL,
0,
W_HL_TCOL)
END_OBJECT_LIST (OB_WIN_1)
Einführung in die Projektierung (PSE)
clears menu area if menu will be closed
/* always '0' */
/* id of starting window */
/* starting position of menu area */
/* background color */
/* no OPEN_LIST */
/* no CLOSE_LIST */
/* filled with W_FCOL */
/* id */
/* x-, y-position */
/* textname */
/* character set */
/* no attributes */
/* header-text color */
4 Projektierdateien
*/
/* id */
/* x-, y-position */
/* width, height of
rectangle */
/* color of window */
/* style of border */
PSE/4-23

Quicklinks ausblenden:

Werbung

loading

Diese Anleitung auch für:

Sinumerik 840d