×
Source Code (src)
A detailed list of all documented functions, variables, defines, enums, typedefs, and data structures in the src folder.
Each file in this folder is critical for the overall functionality of the Aura GUI. Below is a detailed description and breakdown of how the functions work in the code, what they do, and how to use them.
debug.c
Provides debugging utilities for the Aura GUI. It includes functions for logging debug messages, handling errors, and providing runtime information.
- Functions:
void DebugMessage(const char* format, ...): Logs a formatted debug message.
void HandleError(const char* errorMsg): Handles and logs error messages.
- Data Structures:
typedef struct DebugInfo: Contains information about the current debug state.
devload.asm
Assembly file for low-level device loading routines used in the Aura GUI. It handles the initialization and management of hardware devices.
- Procedures:
_start: Entry point for device loading.
LoadDevice: Loads and initializes a device.
dms.c
Core functionalities for the Data Management System, interfacing with various data types. It manages loading, saving, and processing data.
- Functions:
void DMSInit(void): Initializes the Data Management System.
void DMSDeInit(void): Deinitializes the Data Management System.
- Data Structures:
typedef struct DMSFile: Represents a file managed by the DMS.
dms2.c
Additional functionalities and improvements for the Data Management System. It provides extended support for more data types and operations.
- Functions:
void DMS2Init(void): Initializes the extended Data Management System.
void DMS2DeInit(void): Deinitializes the extended Data Management System.
- Data Structures:
typedef struct DMS2File: Represents a file managed by the extended DMS.
dynld.c
Dynamic loading routines for plugins and extensions within the Aura GUI. It handles the loading and unloading of dynamic libraries.
- Functions:
void InitDynLd(void): Initializes the dynamic loading system.
void ShutDownDynLd(void): Shuts down the dynamic loading system.
- Data Structures:
typedef struct DynLdModule: Represents a dynamically loaded module.
dynldlnk.c
Linking routines for dynamically loaded modules in the Aura GUI. It resolves symbols and handles dependencies for dynamic modules.
- Functions:
void* ResolveSymbol(void* module, const char* symbol): Resolves a symbol in a dynamic module.
error.c
Error handling routines for the Aura GUI, providing mechanisms for logging and managing errors.
- Functions:
void LogError(const char* errorMsg): Logs an error message.
void DisplayError(const char* errorMsg): Displays an error message to the user.
events.c
Event management system for handling user interactions and system events in the Aura GUI. It processes and dispatches events to appropriate handlers.
- Functions:
void InitializeEventsSystem(void): Initializes the events system.
void HandleEvents(void): Processes and handles events.
- Data Structures:
typedef struct Event: Represents an event in the system.
exports.c
Exports functions and symbols for use by other modules and applications within the Aura GUI.
- Functions:
void RegisterExports(void): Registers exported functions and symbols.
font.c
Font management and rendering routines for the Aura GUI. It handles loading, rendering, and managing fonts used in the GUI.
- Functions:
Font* LoadFont(const char* fontPath): Loads a font from a specified path.
void RenderText(Font* font, const char* text, int x, int y): Renders text using a specified font.
- Data Structures:
typedef struct Font: Represents a font used in the GUI.
grfx2.c
Graphics handling routines, providing functionalities for drawing and manipulating graphical elements in the Aura GUI.
- Functions:
void DrawImage(const char* imagePath, int x, int y): Draws an image at a specified location.
void DrawRectangle(int x, int y, int width, int height, Color color): Draws a rectangle with a specified color.
- Data Structures:
typedef struct Color: Represents a color used in graphical operations.
image.c
Image loading and manipulation functions, supporting various image formats used within the Aura GUI.
- Functions:
Image* LoadImage(const char* imagePath): Loads an image from a specified path.
void SaveImage(const char* imagePath, Image* image): Saves an image to a specified path.
- Data Structures:
typedef struct Image: Represents an image used in the GUI.
ini.c
INI file handling routines for reading and writing configuration files.
- Functions:
void ReadINIFile(const char* iniPath, INI* ini): Reads an INI file from a specified path.
void WriteINIFile(const char* iniPath, INI* ini): Writes an INI file to a specified path.
- Data Structures:
typedef struct INI: Represents an INI file.
keyboard.c
Keyboard input handling, providing functions to manage and process keyboard events.
- Functions:
void InstallKeyboard(void): Installs the keyboard driver.
void HandleKeyboardEvent(Event* event): Processes a keyboard event.
list.c
List management routines, providing functionalities for managing dynamic lists of data.
- Functions:
void AddToList(List* list, void* item): Adds an item to a list.
void RemoveFromList(List* list, void* item): Removes an item from a list.
- Data Structures:
typedef struct List: Represents a dynamic list of data.
main.c
Main entry point for the Aura GUI application, initializing the system and starting the main loop.
- Functions:
int main(int argc, char* argv[]): Main function, initializes and starts the GUI.
metrics.c
Routines for measuring and managing performance metrics within the Aura GUI.
- Functions:
void StartMetric(const char* metricName): Starts measuring a performance metric.
void EndMetric(const char* metricName): Ends measuring a performance metric.
- Data Structures:
typedef struct Metric: Represents a performance metric.
mouse.c
Mouse input handling, providing functions to manage and process mouse events.
- Functions:
void InstallMouse(void): Installs the mouse driver.
void HandleMouseEvent(Event* event): Processes a mouse event.
mutex.c
Mutex handling routines for managing concurrent access to resources within the Aura GUI.
- Functions:
void InitializeMutex(Mutex* mutex): Initializes a mutex.
void LockMutex(Mutex* mutex): Locks a mutex.
- Data Structures:
typedef struct Mutex: Represents a mutex for resource synchronization.
pdcurseswrapper.h
Header file providing wrappers for PDCurses functions used in the Aura GUI.
- Functions:
void InitCurses(void): Initializes the PDCurses library.
void EndCurses(void): Ends the PDCurses library usage.
recource.c
Resource management routines, handling the loading and management of resources such as images and fonts.
- Functions:
void LoadResource(const char* resourcePath): Loads a resource from a specified path.
void FreeResource(void* resource): Frees a loaded resource.
registry.c
Registry management routines for handling application settings and configurations.
- Functions:
void InitializeRegistry(void): Initializes the registry system.
void ReadRegistryValue(const char* key, char* value): Reads a value from the registry.
- Data Structures:
typedef struct RegistryEntry: Represents an entry in the registry.
resource.c
Additional resource management functionalities for the Aura GUI.
- Functions:
void AddResource(Resource* resource): Adds a resource to the system.
void RemoveResource(Resource* resource): Removes a resource from the system.
screen.c
Screen management and rendering routines, providing functionalities for managing display output.
- Functions:
void InitializeScreen(void): Initializes the screen system.
void RenderScreen(void): Renders the current screen.
tasks.c
Task management routines, providing functionalities for managing and scheduling tasks within the Aura GUI.
- Functions:
void CreateTask(Task* task): Creates a new task.
void ScheduleTask(Task* task): Schedules a task for execution.
- Data Structures:
typedef struct Task: Represents a task in the system.
text.c
Text handling and rendering routines, providing functionalities for displaying and manipulating text.
- Functions:
void RenderText(const char* text, int x, int y): Renders text at a specified location.
void SetTextColor(Color color): Sets the color of the text.
thread.c
Thread management routines, providing functionalities for creating and managing threads within the Aura GUI.
- Functions:
void CreateThread(Thread* thread): Creates a new thread.
void JoinThread(Thread* thread): Joins a thread.
- Data Structures:
typedef struct Thread: Represents a thread in the system.
timer.c
Timer handling routines, providing functionalities for creating and managing timers within the Aura GUI.
- Functions:
void InitializeTimer(void): Initializes the timer system.
void SetTimerInterval(int interval): Sets the interval for the timer.
utext.c
Unicode text handling routines, providing functionalities for displaying and manipulating Unicode text.
- Functions:
void RenderUnicodeText(const wchar_t* text, int x, int y): Renders Unicode text at a specified location.
void SetUnicodeTextColor(Color color): Sets the color of the Unicode text.
vfile.c
Virtual file handling routines, providing functionalities for managing virtual file systems within the Aura GUI.
- Functions:
void CreateVirtualFile(const char* path): Creates a new virtual file.
void DeleteVirtualFile(const char* path): Deletes a virtual file.
- Data Structures:
typedef struct VirtualFile: Represents a virtual file in the system.
win32fix.c
Windows-specific fixes and adjustments for the Aura GUI.
- Functions:
void ApplyWindowsFixes(void): Applies fixes for Windows-specific issues.