mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
25 lines
912 B
Plaintext
25 lines
912 B
Plaintext
$NetBSD: patch-ah,v 1.2 2011/12/05 22:47:14 joerg Exp $
|
|
|
|
--- XVision/View.hh.orig 1997-11-01 11:50:51.000000000 +0000
|
|
+++ XVision/View.hh
|
|
@@ -7,7 +7,7 @@
|
|
enum Align { VAHorizontal, VAVertical };
|
|
enum ColorIndex { ciForeground, ciHighlightedFG, ciDisabledFG,
|
|
ciBackground, ciHighlightedBG };
|
|
-const ColorIndexCount = 5;
|
|
+const int ColorIndexCount = 5;
|
|
|
|
const CommandType cmSizeChanged = 1000;
|
|
const CommandType cmCancel = 1001;
|
|
@@ -50,8 +50,8 @@ class View {
|
|
virtual void Hide();
|
|
virtual void SetColor(const Pixel_t color, const ColorIndex index);
|
|
Pixel_t GetColor(const ColorIndex index);
|
|
- inline const int GetX() const;
|
|
- inline const int GetY() const;
|
|
+ const int GetX() const;
|
|
+ const int GetY() const;
|
|
inline const int GetW() const { return Area.Size.X; };
|
|
inline const int GetH() const { return Area.Size.Y; };
|
|
virtual bool HandleEvent(Event& event);
|