-
Notifications
You must be signed in to change notification settings - Fork 2
/
PHitInfoWindow.h
39 lines (30 loc) · 1.15 KB
/
PHitInfoWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//==============================================================================
// File: PHitInfoWindow.h
//
// Copyright (c) 2017, Phil Harvey, Queen's University
//==============================================================================
#ifndef __PHitInfoWindow_h__
#define __PHitInfoWindow_h__
#include <Xm/Xm.h>
#include "PWindow.h"
#include "PListener.h"
#include "PLabel.h"
class PHitInfoWindow : public PWindow, public PListener {
public:
PHitInfoWindow(ImageData *data);
~PHitInfoWindow();
virtual void UpdateSelf();
virtual void Listen(int message, void *message_data);
private:
static void NextProc(Widget w, PHitInfoWindow *win, caddr_t call_data);
static void PrevProc(Widget w, PHitInfoWindow *win, caddr_t call_data);
void ClearEntries();
void SetHitXYZ();
void ManageXYZ(int manage);
void ResizeToFit();
PLabel hi_num, hi_time, hi_height, hi_hit_label;
PLabel hi_wire, hi_pad, hi_type;
PLabel hi_xyz_labels[3], hi_xyz[3];
int mLastNum;
};
#endif // __PHitInfoWindow_h__