diff options
author | masoud bh <masoud.bh@chmail.ir> | 2015-11-09 02:23:58 +0330 |
---|---|---|
committer | masoud bh <masoud.bh@chmail.ir> | 2015-11-09 02:23:58 +0330 |
commit | 24f3f43457ac6bdeed95c1ed0a882387a509078a (patch) | |
tree | b8249a4f8c1674538b80b0a5d22d4b6810f7cf1e /drivers/pe_bliss/pe_directory.cpp | |
parent | 3fcfdfec0ac5175f55527b3ec95d14d48bf29dd2 (diff) |
Add icon to exe file in windows export
add version_info and icon sections in "export to windows platform".
add version_info and icon to godot exe file (editor & template exe).
fix an problem in image class.
change all default icons to android export icon (a little more rounded).
create an python script for convert file to cpp byte array for use in
'splash.h'.
Diffstat (limited to 'drivers/pe_bliss/pe_directory.cpp')
-rw-r--r-- | drivers/pe_bliss/pe_directory.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/pe_bliss/pe_directory.cpp b/drivers/pe_bliss/pe_directory.cpp new file mode 100644 index 0000000000..57ea2212a6 --- /dev/null +++ b/drivers/pe_bliss/pe_directory.cpp @@ -0,0 +1,38 @@ +#include "pe_directory.h" + +namespace pe_bliss +{ +//Default constructor +image_directory::image_directory() + :rva_(0), size_(0) +{} + +//Constructor from data +image_directory::image_directory(uint32_t rva, uint32_t size) + :rva_(rva), size_(size) +{} + +//Returns RVA +uint32_t image_directory::get_rva() const +{ + return rva_; +} + +//Returns size +uint32_t image_directory::get_size() const +{ + return size_; +} + +//Sets RVA +void image_directory::set_rva(uint32_t rva) +{ + rva_ = rva; +} + +//Sets size +void image_directory::set_size(uint32_t size) +{ + size_ = size; +} +} |