home *** CD-ROM | disk | FTP | other *** search
- // Microworks ObjectMate 2.6
- //
- // "SFX Class Library"
- //
- // An ObjectWindows 2.0 extension for Borland C++ 4.0
- //
- // Copyright 1992-94 Microworks Sydney, Australia.
- //
- // SBITMAP.CPP
-
- #include <owl\owlpch.h>
- #include <sfx\sfx200.h>
- #include "sfx\sbitmap.h"
-
- IMPLEMENT_STREAMABLE_FROM_BASE(TSFXBitmap, TControl);
-
- // constructor for a TSFXBitmap object
-
- TSFXBitmap::TSFXBitmap(TWindow* parent,
- int id,
- int x, int y,
- TModule* module)
- :TControl(parent, id, "", x, y, 0, 0, module)
- {
- Attr.Style = (WS_CHILD | WS_VISIBLE | WS_GROUP | MBS_BITMAP);
- DisableTransfer();
- }
-
- // constructor for a TSFXBitmap resource object
-
- TSFXBitmap::TSFXBitmap(TWindow* parent, int resourceId, TModule* module)
- :TControl(parent, resourceId, module)
- {
- DisableTransfer();
- }
-
- char far*
- TSFXBitmap::GetClassName()
- {
- return "SFXBUTTON";
- }
-
-