Develop and Download Open Source Software

Browse CVS Repository

Contents of /tombo/Tombo/Src/HPCPlatform.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download) (as text)
Sat Sep 4 14:54:30 2004 UTC (19 years, 7 months ago) by hirami
Branch: MAIN
CVS Tags: B155, Tombo_2_0a3, Tombo_2_0a2, Tombo_2_0a1, Tombo_1_17_1, B153, B191, B192, B193, B194, B196, B197, B198, B199, B200, B201, B202, B203, B205, B206, B207, B208, SNAPSHOT_20040920, SNAPSHOT_20040925, B183, B181, B180, B187, B186, B184, B189, B188, B213, B212, B211, B217, B216, B215, B214, B219, B218, Tombo_2_0b2, Tombo_2_0b3, Tombo_2_0b1, Tombo_1_9, Tombo_2_0b4, B228, B229, B226, B227, B224, B225, B222, B223, B220, B221, B154, B172, B156, B157, B150, B151, B152, B173, B158, B159, B171, Tombo_1_10, Tombo_1_13, SNAPSHOT20051220, Tombo_1_12, B231, B230, B149, B148, Tombo_1_15, Tombo_1_14, Tombo_1_17, Tombo_1_16, Tombo_1_11, B177, B174, B175, B178, B179, B164, B169, B168, B165, SNAPSHOT_20041121, B166, B161, B160, B163, B162, HEAD
Branch point for: Tombo_1_17_1_branch
Changes since 1.4: +1 -1 lines
File MIME type: text/x-chdr
* External editor linking (HPC,Win32)

1 #ifndef HPCPLATFORM_H
2 #define HPCPLATFORM_H
3 #if defined(PLATFORM_HPC)
4
5 #define PLATFORM_TYPE HPCPlatform
6
7 class StatusBar;
8
9 class HPCPlatform : public PlatformLayer {
10 protected:
11 void ControlMenu(BOOL bTreeActive);
12 void ControlToolbar(BOOL bTreeActive);
13
14 StatusBar *pStatusBar;
15 public:
16 HWND hMSCmdBar;
17
18 HPCPlatform();
19 virtual ~HPCPlatform();
20
21 void Create(HWND hWnd, HINSTANCE hInst);
22
23 HWND GetMainToolBar();
24
25 HMENU GetMainMenu();
26 HMENU GetMDToolMenu();
27 HMENU GetMSEditMenu();
28 HMENU GetMSBookMarkMenu();
29
30 void EnableMenu(UINT uid, BOOL bEnable);
31 void EnableSearchNext();
32 void CheckMenu(UINT uid, BOOL bCheck);
33
34 void OpenDetailsView();
35 void CloseDetailsView();
36
37 void AdjustUserRect(RECT *r);
38
39 void ShowStatusBar(BOOL bShow);
40 void SetStatusIndicator(DWORD nPos, LPCTSTR pText, BOOL bDisp);
41 WORD GetStatusBarHeight();
42 void ResizeStatusBar(WPARAM wParam, LPARAM lParam);
43 void GetStatusWindowRect(RECT *pRect);
44
45 static HPCPlatform *PlatformFactory() { return new HPCPlatform(); }
46
47 static HMENU LoadMainMenu();
48 // static HMENU LoadContextMenu(DWORD nFlg);
49 };
50
51 #endif // PLATFORM_HPC
52 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26