Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2007-07-04 03:22:44 +0400
committerThorvald Natvig <slicer@users.sourceforge.net>2007-07-04 03:22:44 +0400
commitf87c0581ea1509e1615826208a3e91bfb527cd05 (patch)
treecce9da879196c98fb723fabf7f526b6e0831ecaa /overlay/overlay.h
parent7da4eba037c766911f7ce9457ce5b1e803367f93 (diff)
Updated overlay for Win32, should now be possible to port it to Linux.
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@533 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'overlay/overlay.h')
-rw-r--r--overlay/overlay.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/overlay/overlay.h b/overlay/overlay.h
index 6569b662b..a44ade1bc 100644
--- a/overlay/overlay.h
+++ b/overlay/overlay.h
@@ -31,26 +31,29 @@
#ifndef _INTERNAL_OVERLAY_H
#define _INTERNAL_OVERLAY_H
+#define TEXT_WIDTH 600
+#define TEXT_HEIGHT 60
+#define NUM_TEXTS 32
+
+#define TEXTURE_SIZE (TEXT_WIDTH*TEXT_HEIGHT*4)
+
struct TextEntry {
+ unsigned int color;
wchar_t text[128];
- DWORD color;
+ bool bUpdated;
+ short width;
+ unsigned char texture[TEXTURE_SIZE];
};
-#define NUM_TEXTS 32
-
struct SharedMem {
- DWORD lastAppAlive;
+ unsigned int lastAppAlive;
bool bHooked;
bool bDebug;
bool bShow;
bool bReset;
- wchar_t strFontname[128];
- int iFontSize;
- bool bFontBold;
- bool bFontItalic;
- float fWidthFactor;
float fX, fY;
bool bTop, bBottom, bLeft, bRight;
+ float fFontSize;
TextEntry texts[NUM_TEXTS];
};