Simple test for asyncio.library.
[AROS-Contrib.git] / gfx / mysticview / src / Mystic_Screen.h
blob5d3324a9206cb2e13ede5b93184f53c3660b3dc1
1 #ifndef MYSTIC_SCREEN_H
2 #define MYSTIC_SCREEN_H 1
4 /*********************************************************************
5 ----------------------------------------------------------------------
7 MysticView
8 Screen
10 ------------------------------------------------------ tabsize = 4 ---
11 *********************************************************************/
13 #include "Mystic_Global.h"
16 /*--------------------------------------------------------------------
18 structures
20 --------------------------------------------------------------------*/
22 struct mvscreen
24 struct SignalSemaphore semaphore;
26 APTR visualinfo;
28 struct Screen *screen; /* custom or public screen */
29 ULONG screentype; /* PUBLICSCREEN or CUSTOMSCREEN */
31 APTR psm; /* screen-pen manager */
33 int aspectx; /* screen's aspect ratios */
34 int aspecty;
36 ULONG modeID;
38 struct TextFont *screenfont; // screen's font
42 #include "Mystic_Settings.h"
44 /*--------------------------------------------------------------------
46 prototypes
48 --------------------------------------------------------------------*/
50 extern struct mvscreen *CreateMVScreen(struct mainsettings *mvs);
51 extern void DeleteMVScreen(struct mvscreen *scr);
52 extern void GetVisibleSize(struct mvscreen *scr, int *width, int *height);
55 #endif