| Line | |
|---|
| 1 | /* File: controls.cpp -- Win32 common controls
|
|---|
| 2 | *
|
|---|
| 3 | * Copyright (c) 1999 Christoph Bratschi
|
|---|
| 4 | *
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | #include <os2win.h>
|
|---|
| 8 | #include <string.h>
|
|---|
| 9 | #include "misc.h"
|
|---|
| 10 |
|
|---|
| 11 | #include "controls.h"
|
|---|
| 12 | #include "button.h"
|
|---|
| 13 | #include "static.h"
|
|---|
| 14 | #include "scroll.h"
|
|---|
| 15 |
|
|---|
| 16 | /* registration */
|
|---|
| 17 |
|
|---|
| 18 | void CONTROLS_Register()
|
|---|
| 19 | {
|
|---|
| 20 | dprintf(("Register BUTTON class"));
|
|---|
| 21 | if (!BUTTON_Register()) dprintf(("failed!!!"));
|
|---|
| 22 |
|
|---|
| 23 | dprintf(("Register STATIC class"));
|
|---|
| 24 | if (!STATIC_Register()) dprintf(("failed!!!"));
|
|---|
| 25 |
|
|---|
| 26 | dprintf(("Register SCROLLBAR class"));
|
|---|
| 27 | if (!SCROLLBAR_Register()) dprintf(("failed!!!"));
|
|---|
| 28 | }
|
|---|
| 29 |
|
|---|
| 30 | void CONTROLS_Unregister()
|
|---|
| 31 | {
|
|---|
| 32 | dprintf(("Unregister BUTTON class"));
|
|---|
| 33 | if (!BUTTON_Unregister()) dprintf(("failed!!!"));
|
|---|
| 34 |
|
|---|
| 35 | dprintf(("Unregister STATIC class"));
|
|---|
| 36 | if (!STATIC_Unregister()) dprintf(("failed!!!"));
|
|---|
| 37 |
|
|---|
| 38 | dprintf(("Unregister SCROLLBAR class"));
|
|---|
| 39 | if (!SCROLLBAR_Unregister()) dprintf(("failed!!!"));
|
|---|
| 40 | }
|
|---|
| 41 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.