-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore access to The Amazing Secret
- Loading branch information
1 parent
3455a36
commit 1d59b33
Showing
14 changed files
with
63 additions
and
7 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
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
1 change: 1 addition & 0 deletions
1
crates/aether/src/darksiders1/code/vigil/darksiders/client/helpers/mod.rs
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,2 +1,3 @@ | ||
pub mod helper; | ||
pub mod teleporthelper; | ||
pub mod windowhelper; |
17 changes: 17 additions & 0 deletions
17
crates/aether/src/darksiders1/code/vigil/darksiders/client/helpers/windowhelper.rs
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,17 @@ | ||
use crate::darksiders1::{gfc, Lift}; | ||
use darksiders1_sys::target; | ||
|
||
struct_wrapper!(WindowHelper, target::gfc__WindowHelper); | ||
struct_wrapper_super!(WindowHelper, gfc::Helper); | ||
|
||
impl WindowHelper { | ||
pub fn push_window(&self, wndclass: &gfc::HString) { | ||
unsafe { | ||
target::gfc__WindowHelper__pushWindow(self.as_ptr(), wndclass.as_ptr()); | ||
} | ||
} | ||
|
||
pub fn get_window(&self) -> gfc::AutoRef<gfc::_UIControl> { | ||
self.inner.mWindow.lift_ref().clone() | ||
} | ||
} |
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
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 +1,2 @@ | ||
pub mod uicontrol; | ||
pub mod uimanager; |
11 changes: 11 additions & 0 deletions
11
crates/aether/src/darksiders1/code/vigil/gfc/ui/uicontrol.rs
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,11 @@ | ||
use crate::darksiders1::{gfc, Lift}; | ||
use darksiders1_sys::target; | ||
|
||
struct_wrapper!(_UIControl, target::gfc___UIControl); | ||
struct_wrapper_super!(_UIControl, gfc::Object); | ||
|
||
impl _UIControl { | ||
pub fn name(&self) -> &gfc::HString { | ||
self.inner.mName.lift_ref() | ||
} | ||
} |
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
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
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
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
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
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
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