about summary refs log tree commit diff stats
path: root/070table.mu
Commit message (Expand)AuthorAgeFilesLines
* 4261 - start using literals for 'true' and 'false'Kartik Agaram2018-06-171-1/+1
* 4134 - 'input' = 'ingredient'Kartik K. Agaram2017-12-031-4/+4
* 3688Kartik K. Agaram2016-11-251-0/+4
* 3621Kartik K. Agaram2016-11-041-2/+2
* 3619Kartik K. Agaram2016-10-311-6/+25
* 3618Kartik K. Agaram2016-10-311-2/+2
* 3616Kartik K. Agaram2016-10-311-8/+8
* 3615Kartik K. Agaram2016-10-311-7/+7
* 3614Kartik K. Agaram2016-10-311-8/+8
* 3612Kartik K. Agaram2016-10-311-4/+3
* 3429 - standardize Mu scenariosKartik K. Agaram2016-09-281-5/+5
* 3390Kartik K. Agaram2016-09-171-4/+4
* 3389Kartik K. Agaram2016-09-171-8/+8
* 3386Kartik K. Agaram2016-09-171-5/+5
* 3385Kartik K. Agaram2016-09-171-11/+11
* 3337 - first use of type abbreviations: textKartik K. Agaram2016-09-121-2/+2
* 3154 - reorg before making 'random' more testableKartik K. Agaram2016-07-271-0/+87
ckground-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef GFX_H
#define GFX_H

#include "common.h"
#include "tty.h"

void Gfx_Initialize(uint32* pixels, uint32 width, uint32 height, uint32 bytesPerPixel, uint32 pitch);

void Gfx_PutCharAt(
    /* note that this is int, not char as it's a unicode character */
    unsigned short int c,
    /* cursor position on screen, in characters not in pixels */
    int cx, int cy,
    /* foreground and background colors, say 0xFFFFFF and 0x000000 */
    uint32 fg, uint32 bg);

void Gfx_FlushFromTty(Tty* tty);

uint8* Gfx_GetVideoMemory();
uint16 Gfx_GetWidth();
uint16 Gfx_GetHeight();
uint16 Gfx_GetBytesPerPixel();
void Gfx_Fill(uint32 color);

#endif // GFX_H