Public Methods | |
struct DisplayGraphics* | AppGeneric_init_display (void) |
void | AppGeneric_clear_screen (void) |
bool | AppGeneric_proc (struct AppGeneric *ptr_app_generic, struct Message *ptr_message) |
void | AppGeneric_cancel_shutup (struct AppGeneric *ptr_app_generic) |
void | AppGeneric_ext_cancel_shutup (void) |
bool | AppGeneric_pause (struct AppGeneric *ptr_app_generic, clock_t timeout) |
struct Process* | AppGeneric_request_focus (struct Process *ptr_app_generic) |
bool | AppGeneric_has_focus (struct AppGeneric *ptr_app_generic) |
struct DisplayGraphics* | AppGeneric_get_display (void) |
struct Message* | AppGeneric_peek_message (struct AppGeneric *ptr_app_generic, bool remove, int min, int max) |
struct Message* | AppGeneric_get_message (struct AppGeneric *ptr_app_generic, long timeout, int min, int max) |
void | AppGeneric_put_message (struct AppGeneric *ptr_app_generic, struct Message *ptr_message) |
char* | AppGeneric_get_name (struct AppGeneric *ptr_app_generic) |
AppGeneric is a simple application structure. In other words, it is the base structure for applications. It implements such functions as: receiving the graphics context for application needs, cleaning the screen, processing messages and canceling MSG_SHUTUP events. This object cannot be instantiated! It can be obtained using init_module().
|
Cancels the MSG_SHUTUP message.
|
|
Clears the screen with a white color.
|
|
Cancels the MGS_SHUTUP message statically.
|
|
Retrieves DisplayGraphics object to access the Cybiko computer's display.
|
|
Returns the message for the specified interval.
|
|
Retrieves the name of the application.
|
|
Tests whether the process has the device's focus.
|
|
Obtains the graphics context.
|
|
Pauses execution of the application.
|
|
Peeks or gets a message from the queue.
|
|
Provides generic message processing.
|
|
Puts a Message in the application's Queue.
|
|
Requests that the application receive the focus.
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |