forked from LukasBanana/LLGL
-
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.
[Platforms] Added .inl headers of function declarations for Window/Ca…
…nvas interfaces.
- Loading branch information
1 parent
42e7b90
commit e2f48fa
Showing
10 changed files
with
116 additions
and
125 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 @@ | ||
/* | ||
* Canvas.inl | ||
* | ||
* Copyright (c) 2015 Lukas Hermanns. All rights reserved. | ||
* Licensed under the terms of the BSD 3-Clause license (see LICENSE.txt). | ||
*/ | ||
|
||
virtual bool GetNativeHandle( | ||
void* nativeHandle, | ||
std::size_t nativeHandleSize | ||
) override final; | ||
|
||
virtual LLGL::Extent2D GetContentSize( | ||
void | ||
) const override final; | ||
|
||
virtual void SetTitle( | ||
const LLGL::UTF8String& title | ||
) override final; | ||
|
||
virtual LLGL::UTF8String GetTitle( | ||
void | ||
) const override final; | ||
|
||
|
||
|
||
// ================================================================================ |
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,58 @@ | ||
/* | ||
* Window.inl | ||
* | ||
* Copyright (c) 2015 Lukas Hermanns. All rights reserved. | ||
* Licensed under the terms of the BSD 3-Clause license (see LICENSE.txt). | ||
*/ | ||
|
||
virtual bool GetNativeHandle( | ||
void* nativeHandle, | ||
std::size_t nativeHandleSize | ||
) override final; | ||
|
||
virtual LLGL::Extent2D GetContentSize( | ||
void | ||
) const override final; | ||
|
||
virtual void SetPosition( | ||
const LLGL::Offset2D& position | ||
) override final; | ||
|
||
virtual LLGL::Offset2D GetPosition() const override; | ||
|
||
virtual void SetSize( | ||
const LLGL::Extent2D& size, | ||
bool useClientArea = true | ||
) override final; | ||
|
||
virtual LLGL::Extent2D GetSize( | ||
bool useClientArea = true | ||
) const override final; | ||
|
||
virtual void SetTitle( | ||
const LLGL::UTF8String& title | ||
) override final; | ||
|
||
virtual LLGL::UTF8String GetTitle( | ||
void | ||
) const override final; | ||
|
||
virtual void Show( | ||
bool show = true | ||
) override final; | ||
|
||
virtual bool IsShown( | ||
void | ||
) const override final; | ||
|
||
virtual LLGL::WindowDescriptor GetDesc( | ||
void | ||
) const override final; | ||
|
||
virtual void SetDesc( | ||
const LLGL::WindowDescriptor& desc | ||
) override final; | ||
|
||
|
||
|
||
// ================================================================================ |
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
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