SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
HexFiend/HFRepresenterStringEncodingTextView.h
1 //
2 // HFRepresenterStringEncodingTextView.h
3 // HexFiend_2
4 //
5 // Copyright 2007 ridiculous_fish. All rights reserved.
6 //
7
8 #import <HexFiend/HFRepresenterTextView.h>
9 #import <HexFiend/HFGlyphTrie.h>
10
11 @interface HFRepresenterStringEncodingTextView : HFRepresenterTextView {
12 /* Tier 0 data (always up to date) */
13 NSStringEncoding encoding;
14 uint8_t bytesPerChar;
15
16 /* Tier 1 data (computed synchronously on-demand) */
17 BOOL tier1DataIsStale;
18 struct HFGlyph_t replacementGlyph;
19 CGFloat glyphAdvancement;
20
21 /* Tier 2 data (computed asynchronously on-demand) */
22 struct HFGlyphTrie_t glyphTable;
23
24 NSArray *fontCache;
25
26 /* Background thread */
27 OSSpinLock glyphLoadLock;
28 BOOL requestedCancel;
29 NSMutableArray *fonts;
30 NSMutableIndexSet *requestedCharacters;
31 NSOperationQueue *glyphLoader;
32 }
33
34 /// Set and get the NSStringEncoding that is used
35 @property (nonatomic) NSStringEncoding encoding;
36
37 @end
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.