Choco OS  V.0.16.9.0
Join to the chocolate world
oc_screen.h File Reference

File with interface for the screen objects. More...

#include <oc_errors.h>
#include <oc_driverman.h>
#include <oc_colormap.h>

Go to the source code of this file.

Typedefs

typedef struct Screen_toC_Screen_t
 Screen object pointer. More...
 

Functions

oC_Screen_t oC_Screen_New (oC_Driver_t Driver, const void *Config, const char *Name)
 creates new screen object More...
 
bool oC_Screen_IsCorrect (oC_Screen_t Screen)
 checks if the Screen object is correct More...
 
bool oC_Screen_Delete (oC_Screen_t *Screen)
 Destroys the Screen object. More...
 
bool oC_Screen_IsConfigured (oC_Screen_t Screen)
 checks if the screen is configured to work More...
 
oC_ErrorCode_t oC_Screen_Configure (oC_Screen_t Screen)
 configures graphics driver to work More...
 
oC_ErrorCode_t oC_Screen_Unconfigure (oC_Screen_t Screen)
 unconfigures graphics driver More...
 
oC_ErrorCode_t oC_Screen_ReadColorMap (oC_Screen_t Screen, oC_ColorMap_t **outColorMap)
 reads pointer to the color map More...
 
oC_ErrorCode_t oC_Screen_ReadResolution (oC_Screen_t Screen, oC_Pixel_ResolutionUInt_t *outWidth, oC_Pixel_ResolutionUInt_t *outHeight)
 reads resolution of the screen More...
 
const char * oC_Screen_GetName (oC_Screen_t Screen)
 returns name of the screen More...
 
oC_Driver_t oC_Screen_GetDriver (oC_Screen_t Screen)
 returns driver associated with the screen More...
 

Detailed Description


Author
Patryk Kubiak - (Created on: 21.07.2016 20:05:47)
Note
Copyright (C) 2016 Patryk Kubiak patry.nosp@m.k.ku.nosp@m.biak9.nosp@m.0@gm.nosp@m.ail.c.nosp@m.om
           This program is free software; you can redistribute it and/or modify
           it under the terms of the GNU General Public License as published by
           the Free Software Foundation; either version 2 of the License, or
           (at your option) any later version.

           This program is distributed in the hope that it will be useful,
           but WITHOUT ANY WARRANTY; without even the implied warranty of
           MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
           GNU General Public License for more details.

           You should have received a copy of the GNU General Public License
           along with this program; if not, write to the Free Software
           Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

Definition in file oc_screen.h.