menu.h File Reference

Descripes the Menu structures, functions and constants. More...

#include "../jnilib.h"

Include dependency graph for menu.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Menu_
 A structure for C, which describes the Menu. More...
struct  MenuCPP_
 A structure for C++, which describes the Menu. More...
struct  MenuData
 This structure holds the data needed for the Menu for C and C++. More...

Defines

#define CLS_MENU   "java/awt/Menu"
 Defines the full name of the AWT-Menu-Class.
#define createMenu   createMenuC
 Defines which function to call when createMenu is called.
#define deleteMenu   deleteMenuC
 Defines which function to call when deleteMenu is called.

Typedefs

typedef Menu_ Menu
 Defines which structure is used as Menu.
typedef Menu_ Menu_
 A structure for C, which describes the Menu.
typedef MenuCPP_ MenuCPP_
 A structure for C++, which describes the Menu.
typedef MenuData MenuData
 This structure holds the data needed for the Menu for C and C++.

Functions

void createMenuC (Menu_ *menu)
 Function is called when working with C and calling the function createMenu.
void createMenuCPP (MenuCPP_ *menu)
 Function is called when working with C++ and calling the function createMenu.
void deleteMenuC (Menu_ *menu)
 Function is called when working with C and calling the function deleteMenu.
void deleteMenuCPP (MenuCPP_ *menu)
 Function is called when working with C++ and calling the function deleteMenu.


Detailed Description

Descripes the Menu structures, functions and constants.

A Menu can hold different MenuItems and is placed on a MenuBar.

Author:
Stefan Gruber
Date:
03.02.2005

Definition in file menu.h.


Define Documentation

#define CLS_MENU   "java/awt/Menu"
 

Defines the full name of the AWT-Menu-Class.

Definition at line 21 of file menu.h.

#define createMenu   createMenuC
 

Defines which function to call when createMenu is called.

Definition at line 33 of file menu.h.

#define deleteMenu   deleteMenuC
 

Defines which function to call when deleteMenu is called.

Definition at line 34 of file menu.h.


Typedef Documentation

typedef struct Menu_ Menu
 

Defines which structure is used as Menu.

Definition at line 32 of file menu.h.

typedef struct Menu_ Menu_
 

A structure for C, which describes the Menu.

typedef struct MenuCPP_ MenuCPP_
 

A structure for C++, which describes the Menu.

typedef struct MenuData MenuData
 

This structure holds the data needed for the Menu for C and C++.


Function Documentation

void createMenuC Menu_ menu  ) 
 

Function is called when working with C and calling the function createMenu.

It initializes the Menu_ structure.

Parameters:
menu - A pointer to a Menu_ structure.

Definition at line 169 of file menu.c.

void createMenuCPP MenuCPP_ menu  ) 
 

Function is called when working with C++ and calling the function createMenu.

It initializes the MenuCPP_ structure.

Parameters:
menu - A pointer to a MenuCPP_ structure.

Definition at line 157 of file menu.c.

void deleteMenuC Menu_ menu  ) 
 

Function is called when working with C and calling the function deleteMenu.

Parameters:
menu - A pointer to a Menu_ structure.

Definition at line 199 of file menu.c.

void deleteMenuCPP MenuCPP_ menu  ) 
 

Function is called when working with C++ and calling the function deleteMenu.

Parameters:
menu - A pointer to a MenuCPP_ structure.

Definition at line 189 of file menu.c.


Generated on Sat Nov 19 14:11:14 2005 for GrubC by  doxygen 1.4.4