-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdwordeditor.h
More file actions
41 lines (34 loc) · 875 Bytes
/
dwordeditor.h
File metadata and controls
41 lines (34 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* dwordeditor
* The DWord Editor for NitePr G5
* Author:
* Sir Gee of Five
*/
#ifndef _DWORDEDITOR_H
#define _DWORDEDITOR_H
#include <stdio.h>
#include <pspdebug.h>
#include <pspkerneltypes.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _DwordEditor {
SceUInt32 value;
int selected_digit;
int editing;
u32 background_color;
u32 text_color;
u32 edit_color;
int increments[8];
} DwordEditor;
void dwordeditorCrossButton(DwordEditor *);
void dwordeditorDpadDown(DwordEditor *);
void dwordeditorDpadLeft(DwordEditor *);
void dwordeditorDpadRight(DwordEditor *);
void dwordeditorDpadUp(DwordEditor *);
void dwordeditorInit(DwordEditor *);
void dwordeditorRedraw(DwordEditor *);
int dwordeditorIncrementAmount(DwordEditor *);
#ifdef __cplusplus
}
#endif
#endif