PS5 Barcode scanner
Loading...
Searching...
No Matches
fancy.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "include\lib.h"
#include "include\fancy.h"
#include "include\utils.h"
#include "fnt\checked.fnt"
#include "fnt\uncheck.fnt"
#include "fnt\exitsign.fnt"
#include "fnt\signs.fnt"
Include dependency graph for fancy.c:

Macros

#define DISP_YOFFSET   12
 
#define DISP_XMAX   112
 
#define DISP_YMAX   64
 
#define IMG_X_OFF   ((DISP_XMAX / 2) - 16)
 
#define LEFT   1
 
#define RIGHT   2
 
#define LEFT   1
 
#define RIGHT   2
 

Functions

void printinputbar (int y, int type)
 Displays scroll and center icon bar at selected row.
 
void show_image (int x, int y)
 Displays image at selected x, y.
 
int fancymenu (fancymenus *items, int layers[], int max)
 Menu for display and control of menu items.
 
int KAfancymenu (fancymenus *items, int layers[], char *elements)
 Similar to fancymenu but with masking based on elements parameter.
 
int fancyselmenu (fancyselmenus *items, int layers[], int max, long *value, int more)
 Selectable list menu.
 
int KAfancyselmenu (fancyselmenus *items, int layers[], char *elements, long *value, int more)
 Selectable list menu with masking based on elements parameter.
 

Variables

int battery_type
 

Macro Definition Documentation

◆ DISP_XMAX

#define DISP_XMAX   112

◆ DISP_YMAX

#define DISP_YMAX   64

◆ DISP_YOFFSET

#define DISP_YOFFSET   12

◆ IMG_X_OFF

#define IMG_X_OFF   ((DISP_XMAX / 2) - 16)

◆ LEFT [1/2]

#define LEFT   1

◆ LEFT [2/2]

#define LEFT   1

◆ RIGHT [1/2]

#define RIGHT   2

◆ RIGHT [2/2]

#define RIGHT   2

Function Documentation

◆ fancymenu()

int fancymenu ( fancymenus * items,
int layers[],
int max )

Menu for display and control of menu items.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fancyselmenu()

int fancyselmenu ( fancyselmenus * items,
int layers[],
int max,
long * value,
int more )

Selectable list menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ KAfancymenu()

int KAfancymenu ( fancymenus * items,
int layers[],
char * elements )

Similar to fancymenu but with masking based on elements parameter.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ KAfancyselmenu()

int KAfancyselmenu ( fancyselmenus * items,
int layers[],
char * elements,
long * value,
int more )

Selectable list menu with masking based on elements parameter.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printinputbar()

void printinputbar ( int y,
int type )

Displays scroll and center icon bar at selected row.

Here is the caller graph for this function:

◆ show_image()

void show_image ( int x,
int y )

Displays image at selected x, y.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ battery_type

int battery_type
extern