frame.h File Reference

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

#include <stdlib.h>
#include "../jnilib.h"
#include "listeners.h"
#include "../graphic/color.h"
#include "../graphic/shape.h"
#include "menubar.h"

Include dependency graph for frame.h:

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

Go to the source code of this file.

Data Structures

struct  Frame_
 A structure for C, which describes the Frame. More...
struct  FrameCPP_
 A structure for C++, which describes the Frame. More...
struct  FrameData
 This structure holds the data needed for the Frame for C and C++. More...

Defines

#define CLS_FRAME   "at/fhv/sgr/guilib/Frame"
 Defines the full name of the Frame-Class.
#define createFrame   createFrameC
 Defines which function to call when createFrame is called.
#define deleteFrame   deleteFrameC
 Defines which function to call when deleteFrame is called.
#define FRAME_STATE_MAXIMIZED   3
#define FRAME_STATE_MINIMIZED   2
#define FRAME_STATE_NORMAL   1
#define WAIT_UNTIL_TRUE(b)   while (!b) { jnisleep(100); }
 This Macro waits until the parameter is true.

Typedefs

typedef Frame_ Frame
 Defines which structure is used as Frame.
typedef Frame_ Frame_
 A structure for C, which describes the Frame.
typedef FrameCPP_ FrameCPP_
 A structure for C++, which describes the Frame.
typedef FrameData FrameData
 This structure holds the data needed for the Frame for C and C++.

Functions

void createFrameC (Frame_ *frame)
 Function is called when working with C and calling the function createFrame.
void createFrameCPP (FrameCPP_ *frame)
 Function is called when working with C++ and calling the function createFrame.
void deleteFrameC (Frame_ *frame)
 Function is called when working with C and calling the function deleteFrame.
void deleteFrameCPP (FrameCPP_ *frame)
 Function is called when working with C++ and calling the function deleteFrame.


Detailed Description

Descripes the Frame structures, functions and constants.

A Frame is a container where you can place control elements or draw on it. The Frame structures permit access to the methods of an AWT Frame. You can change its appearance, add control elements, draw on it, etc.

For more information about the AWT Frame have a look at Sun's Java API documentation.

Author:
Stefan Gruber
Date:
11.01.2005

Definition in file frame.h.


Define Documentation

#define CLS_FRAME   "at/fhv/sgr/guilib/Frame"
 

Defines the full name of the Frame-Class.

Definition at line 32 of file frame.h.

#define createFrame   createFrameC
 

Defines which function to call when createFrame is called.

Definition at line 48 of file frame.h.

#define deleteFrame   deleteFrameC
 

Defines which function to call when deleteFrame is called.

Definition at line 49 of file frame.h.

#define FRAME_STATE_MAXIMIZED   3
 

Definition at line 36 of file frame.h.

#define FRAME_STATE_MINIMIZED   2
 

Definition at line 35 of file frame.h.

#define FRAME_STATE_NORMAL   1
 

Definition at line 34 of file frame.h.

#define WAIT_UNTIL_TRUE  )     while (!b) { jnisleep(100); }
 

This Macro waits until the parameter is true.

Definition at line 53 of file frame.h.


Typedef Documentation

typedef struct Frame_ Frame
 

Defines which structure is used as Frame.

Definition at line 47 of file frame.h.

typedef struct Frame_ Frame_
 

A structure for C, which describes the Frame.

typedef struct FrameCPP_ FrameCPP_
 

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

typedef struct FrameData FrameData
 

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


Function Documentation

void createFrameC Frame_ frame  ) 
 

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

It initializes the Frame_ structure.

Parameters:
frame - A pointer to a Frame_ structure.

Definition at line 579 of file frame.c.

void createFrameCPP FrameCPP_ frame  ) 
 

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

It initializes the FrameCPP_ structure.

Parameters:
frame - A pointer to a FrameCPP_ structure.

Definition at line 567 of file frame.c.

void deleteFrameC Frame_ frame  ) 
 

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

Parameters:
frame - A pointer to a Frame_ structure.

Definition at line 609 of file frame.c.

void deleteFrameCPP FrameCPP_ frame  ) 
 

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

Parameters:
frame - A pointer to a FrameCPP_ structure.

Definition at line 599 of file frame.c.


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