summaryrefslogtreecommitdiff
path: root/test/blocks.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-08-26 13:14:24 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-08-26 13:14:24 +0000
commitf3088c4f8d5ff65157632a52ab1e2e23b6c8edf1 (patch)
treeae8c2605ee5348df03a14aaef151705f04a7a511 /test/blocks.cxx
parent73232e0b20b0d5fd95e0a8de82f5a904bfe635db (diff)
Workaround HP-UX compiler bug by making Blocks and Columns structures public.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/blocks.cxx')
-rw-r--r--test/blocks.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/blocks.cxx b/test/blocks.cxx
index edc48be39..86c99d53e 100644
--- a/test/blocks.cxx
+++ b/test/blocks.cxx
@@ -411,6 +411,8 @@ void BlockSound::play_explosion(float duration) {
class BlockWindow : public Fl_Double_Window
{
+ public:
+
struct Block
{
int color;
@@ -425,6 +427,8 @@ class BlockWindow : public Fl_Double_Window
int x;
};
+ private:
+
int num_columns_;
Column columns_[BLOCK_COLS];
int count_;