mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-16 18:50:46 +00:00
UNIX Screenshot fix
This commit is contained in:
parent
cedd0a9e5e
commit
51cf4252d4
@ -8295,7 +8295,7 @@
|
|||||||
<sleeplib/machine.h>
|
<sleeplib/machine.h>
|
||||||
<list>
|
<list>
|
||||||
|
|
||||||
1307421624 /home/mark/projects/git/sleepyhead/src/version.h
|
1307425559 /home/mark/projects/git/sleepyhead/src/version.h
|
||||||
|
|
||||||
1307418393 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.h
|
1307418393 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.h
|
||||||
"machine.h"
|
"machine.h"
|
||||||
@ -8312,7 +8312,7 @@
|
|||||||
"preferences.h"
|
"preferences.h"
|
||||||
"tinyxml/tinyxml.h"
|
"tinyxml/tinyxml.h"
|
||||||
|
|
||||||
1307418393 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadMain.cpp
|
1307425549 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadMain.cpp
|
||||||
"wx_pch.h"
|
"wx_pch.h"
|
||||||
"version.h"
|
"version.h"
|
||||||
<wx/app.h>
|
<wx/app.h>
|
||||||
|
@ -204,13 +204,11 @@ void SleepyHeadFrame::DoScreenshot( wxCommandEvent &event )
|
|||||||
{
|
{
|
||||||
wxRect r=GetRect();
|
wxRect r=GetRect();
|
||||||
|
|
||||||
#if defined(__UNIX__) // Borrowed.. this need fixing.
|
#if defined(__UNIX__)
|
||||||
/* int cx=r.x, cy=r.y;
|
// Height of statusbar needs adding in
|
||||||
ClientToScreen(&cx,&cy);
|
wxRect j=statusBar->GetRect();
|
||||||
int border_width = cx - r.x;
|
|
||||||
int title_bar_height = cy - r.y;
|
r.height += j.height;
|
||||||
r.width += (border_width * 2);
|
|
||||||
r.height += title_bar_height; // + border_width; */
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxScreenDC sdc;
|
wxScreenDC sdc;
|
||||||
|
@ -16,14 +16,14 @@ namespace AutoVersion{
|
|||||||
//Standard Version Type
|
//Standard Version Type
|
||||||
static const long MAJOR = 0;
|
static const long MAJOR = 0;
|
||||||
static const long MINOR = 7;
|
static const long MINOR = 7;
|
||||||
static const long BUILD = 3354;
|
static const long BUILD = 3355;
|
||||||
static const long REVISION = 1457;
|
static const long REVISION = 1458;
|
||||||
|
|
||||||
//Miscellaneous Version Types
|
//Miscellaneous Version Types
|
||||||
static const long BUILDS_COUNT = 547;
|
static const long BUILDS_COUNT = 553;
|
||||||
#define RC_FILEVERSION 0,7,3354,1457
|
#define RC_FILEVERSION 0,7,3355,1458
|
||||||
#define RC_FILEVERSION_STRING "0, 7, 3354, 1457\0"
|
#define RC_FILEVERSION_STRING "0, 7, 3355, 1458\0"
|
||||||
static const char FULLVERSION_STRING[] = "0.7.3354.1457";
|
static const char FULLVERSION_STRING[] = "0.7.3355.1458";
|
||||||
|
|
||||||
//These values are to keep track of your versioning state, don't modify them.
|
//These values are to keep track of your versioning state, don't modify them.
|
||||||
static const long BUILD_HISTORY = 0;
|
static const long BUILD_HISTORY = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user