Last change
on this file since 496 was 473, checked in by イグトランス (egtra), 17 years ago |
実験として書いていたControlクラスを追加(せめてコミット前に既存のContorolに混ぜようとしたがコンパイルできなかった)。
ほかForms, Drawing及びGDI+の修正。
|
File size:
1.3 KB
|
Rev | Line | |
---|
[13] | 1 | ' GdiPlusInit.ab
|
---|
| 2 |
|
---|
| 3 | #ifndef __GDIPLUSINIT_AB__
|
---|
| 4 | #define __GDIPLUSINIT_AB__
|
---|
| 5 |
|
---|
| 6 | Enum DebugEventLevel
|
---|
[77] | 7 | DebugEventLevelFatal
|
---|
| 8 | DebugEventLevelWarning
|
---|
[13] | 9 | End Enum
|
---|
| 10 |
|
---|
[473] | 11 | Typedef DebugEventProc = *Sub(level As DebugEventLevel, message As *CHAR)
|
---|
[13] | 12 |
|
---|
| 13 | Typedef NotificationHookProc = *Function(/*OUT*/ ByRef token As ULONG_PTR) As Status
|
---|
| 14 | TypeDef NotificationUnhookProc = *Sub(ByVal token As ULONG_PTR)
|
---|
| 15 |
|
---|
[473] | 16 | Type GdiplusStartupInput
|
---|
| 17 | 'Class GdiplusStartupInput
|
---|
| 18 | 'Public
|
---|
[13] | 19 | GdiplusVersion As DWord
|
---|
[473] | 20 | DebugEventCallback As DebugEventProc
|
---|
[13] | 21 | SuppressBackgroundThread As BOOL
|
---|
| 22 | SuppressExternalCodecs As BOOL
|
---|
| 23 |
|
---|
[473] | 24 | ' Sub GdiplusStartupInput()(debugEventCallback As DebugEventProc, suppressBackgroundThread As BOOL, suppressExternalCodecs As BOOL)
|
---|
| 25 | ' GdiplusVersion = 1
|
---|
| 26 | ' DebugEventCallback = debugEventCallback
|
---|
| 27 | ' SuppressBackgroundThread = suppressBackgroundThread
|
---|
| 28 | ' SuppressExternalCodecs = suppressExternalCodecs
|
---|
| 29 | ' End Sub
|
---|
| 30 | 'End Class
|
---|
| 31 | End Type
|
---|
[13] | 32 |
|
---|
| 33 | Type Align(8) GdiplusStartupOutput
|
---|
| 34 | NotificationHook As NotificationHookProc
|
---|
| 35 | NotificationUnhook As NotificationUnhookProc
|
---|
| 36 | End Type
|
---|
| 37 |
|
---|
| 38 | Declare Function GdiplusStartup Lib "GdiPlus.dll" (
|
---|
| 39 | /*OUT*/ ByRef token As ULONG_PTR,
|
---|
| 40 | ByRef input As GdiplusStartupInput,
|
---|
| 41 | /*OUT*/ ByVal output As *GdiplusStartupOutput) As Status
|
---|
| 42 |
|
---|
| 43 | Declare Sub GdiplusShutdown Lib "GdiPlus.dll" (ByVal token As ULONG_PTR)
|
---|
| 44 |
|
---|
| 45 | #endif '__GDIPLUSINIT_AB__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.