-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
235 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
use destiny_pkg::TagHash; | ||
use eframe::egui::Ui; | ||
|
||
#[derive(Copy, Clone)] | ||
enum DataViewMode { | ||
Float, | ||
Raw, | ||
U32, | ||
} | ||
|
||
pub struct TagHexView { | ||
data: Vec<u8>, | ||
mode: DataViewMode, | ||
} | ||
|
||
impl TagHexView { | ||
pub fn new(data: Vec<u8>) -> Self { | ||
Self { | ||
data, | ||
mode: DataViewMode::Raw, | ||
} | ||
} | ||
|
||
pub fn show(&mut self, ui: &mut Ui) -> Option<TagHash> { | ||
None | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
mod audio; | ||
mod common; | ||
mod dxgi; | ||
mod hextag; | ||
mod named_tags; | ||
mod packages; | ||
mod raw_strings; | ||
|
Oops, something went wrong.