LIBURANIA
GUI library (a wrapper of Win32 API) in C++
読み取り中…
検索中…
一致する文字列を見つけられません
decl.h
[詳解]
1/*
2 * Copyright 2002-2021 oZ/acy (名賀月晃嗣)
3 * Redistribution and use in source and binary forms,
4 * with or without modification,
5 * are permitted provided that the following conditions are met:
6 *
7 * 1. Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.
9 *
10 * 2. Redistributions in binary form must reproduce the above copyright notice,
11 * this list of conditions and the following disclaimer in the documentation
12 * and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
16 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
21 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 */
39#ifndef INCLUDE_GUARD_URANIA_DECL_H
40#define INCLUDE_GUARD_URANIA_DECL_H
41
42namespace urania
43{
44 class System;
45
46 class WndBase;
47 class BasicWindow;
48 class Window;
49 class Dialog;
50
51 class CommonDialogBase;
52 class FileDialog;
53
54 class Menu;
55 class MenuDesc;
56
57 class PaintDevice;
58 class PaintMemDevice;
59 class PaintMemDevicePal;
60
61
62 enum // window style
63 {
65 WST_POPUP = 1, // 枠なしウィンドウ
66 WST_BORDER = 1 << 1, // 枠のみのウィンドウ
67 WST_THICK = 1 << 2, // サイズ変更可能ウィンドウ
68 WST_VSCROLL = 1 << 3, // 縦スクロールバー付き
69 WST_HSCROLL = 1 << 4, // 横スクロールバー付き
70 WST_MAXBOX = 1 << 5, // 最大化ボタン付き
71 WST_MINBOX = 1 << 6, // 最小化ボタン付き
72 WST_DRAGANDDROP = 1 << 7 // Drag&Drop受け付け
73 };
74
75 enum //system color
76 {
77 SYSC_SCROLLBAR =0, // スクロールバー灰色領域
78 SYSC_BACKGROUND, // デスクトップ
79 SYSC_ACTIVECAPTION, // アクティブウィンドウのキャプション
80 SYSC_INACTIVECAPTION, // 非アクティブウィンドウキャプション
81 SYSC_MENU, // メニュー背景
82 SYSC_WINDOW, // ウィンドウ背景
83 SYSC_WINDOWFRAME, // ウィンドウ枠
84 SYSC_MENUTEXT, // メニューのテキスト
85 SYSC_WINDOWTEXT, // ウィンドウのテキスト
86 SYSC_CAPTIONTEXT, // キャプションのテキスト
87 SYSC_ACTIVEBORDER, // アクティブウィンドウ境界
88 SYSC_INACTIVEBORDER, // 非アクティブウィンドウ境界
89 SYSC_APPWORKSPACE, // MDI背景
90 SYSC_HIGHLIGHT, // 選択項目背景
91 SYSC_HIGHLIGHTTEXT, // 選択項目文字
92 SYSC_BTNFACE, // ボタン表面の影
93 SYSC_BTNSHADOW, // ボタン縁の影
94 SYSC_GRAYTEXT, // 淡色テキスト
95 SYSC_BTNTEXT, // ボタンテキスト
96 SYSC_INACTIVECAPTIONTEXT, // 非アクティブキャプションのテキスト
97 SYSC_BTNHIGHLIGHT, // 選択されたボタン
98 };
99
100 enum // WC_ & WCIN_ 用定数定義 for Icon&Cursorリソース
101 {
102 DEFAULT_RC =0
103 };
104
105 enum // WC_ & WCIN_ 用定数定義 for BackGroundColor
106 {
114 };
115
116 enum // Scroll Bar の 假想ID (下二つ以外は子ウィンドウIDで識別)
117 {
119 ID_SBH =1
120 };
121
122
123}//end of namespace urania
124
125
126#endif // INCLUDE_GUARD_URANIA_DECL_H
Definition clkpanel.h:43
@ BG_APPWORKSPACE
Definition decl.h:112
@ BG_DKGRAY
Definition decl.h:111
@ BG_LTGRAY
Definition decl.h:110
@ BG_BKWINDOW
Definition decl.h:113
@ BG_WHITE
Definition decl.h:107
@ BG_BLACK
Definition decl.h:108
@ BG_GRAY
Definition decl.h:109
@ DEFAULT_RC
Definition decl.h:102
@ ID_SBH
Definition decl.h:119
@ ID_SBV
Definition decl.h:118
@ WST_NORMAL
Definition decl.h:64
@ WST_MAXBOX
Definition decl.h:70
@ WST_DRAGANDDROP
Definition decl.h:72
@ WST_BORDER
Definition decl.h:66
@ WST_MINBOX
Definition decl.h:71
@ WST_POPUP
Definition decl.h:65
@ WST_VSCROLL
Definition decl.h:68
@ WST_THICK
Definition decl.h:67
@ WST_HSCROLL
Definition decl.h:69
@ SYSC_HIGHLIGHTTEXT
Definition decl.h:91
@ SYSC_INACTIVEBORDER
Definition decl.h:88
@ SYSC_HIGHLIGHT
Definition decl.h:90
@ SYSC_WINDOWFRAME
Definition decl.h:83
@ SYSC_BTNFACE
Definition decl.h:92
@ SYSC_INACTIVECAPTIONTEXT
Definition decl.h:96
@ SYSC_INACTIVECAPTION
Definition decl.h:80
@ SYSC_MENUTEXT
Definition decl.h:84
@ SYSC_CAPTIONTEXT
Definition decl.h:86
@ SYSC_WINDOW
Definition decl.h:82
@ SYSC_APPWORKSPACE
Definition decl.h:89
@ SYSC_BTNHIGHLIGHT
Definition decl.h:97
@ SYSC_ACTIVECAPTION
Definition decl.h:79
@ SYSC_ACTIVEBORDER
Definition decl.h:87
@ SYSC_MENU
Definition decl.h:81
@ SYSC_BTNSHADOW
Definition decl.h:93
@ SYSC_BTNTEXT
Definition decl.h:95
@ SYSC_BACKGROUND
Definition decl.h:78
@ SYSC_WINDOWTEXT
Definition decl.h:85
@ SYSC_SCROLLBAR
Definition decl.h:77
@ SYSC_GRAYTEXT
Definition decl.h:94