HexFiend: HFStatusBarRepresenter.h Source File

HexFiend

HFStatusBarRepresenter.h
Go to the documentation of this file.
1 //
2 // HFStatusBarRepresenter.h
3 // HexFiend_2
4 //
5 // Copyright 2007 ridiculous_fish. All rights reserved.
6 //
7
8 #import <HexFiend/HFRepresenter.h>
9
13 typedef NS_ENUM(NSUInteger, HFStatusBarMode) {
14 HFStatusModeDecimal,
15 HFStatusModeHexadecimal,
16 HFStatusModeApproximate,
17 HFSTATUSMODECOUNT
18 };
19
25 @interface HFStatusBarRepresenter : HFRepresenter {
26 HFStatusBarMode statusMode;
27 }
28
29 @property (nonatomic) HFStatusBarMode statusMode;
30
31 @end
HFStatusBarRepresenter
The HFRepresenter for the status bar.
Definition: HFStatusBarRepresenter.h:25
HFStatusBarRepresenter::statusMode
HFStatusBarMode statusMode
Definition: HFStatusBarRepresenter.h:27
HFRepresenter
The principal view class of Hex Fiend&#39;s MVC architecture.
Definition: HFRepresenter.h:29
HFSTATUSMODECOUNT
The number of modes, to allow easy cycling.
Definition: HFStatusBarRepresenter.h:17
HFStatusModeHexadecimal
The status bar should display byte counts in hexadecimal.
Definition: HFStatusBarRepresenter.h:15
HFStatusModeDecimal
The status bar should display byte counts in decimal.
Definition: HFStatusBarRepresenter.h:14
HFStatusModeApproximate
The text should display byte counts approximately (e.g. "56.3 KB")
Definition: HFStatusBarRepresenter.h:16
HFStatusBarMode
HFStatusBarMode
Definition: HFStatusBarRepresenter.h:13