105 lines
2.3 KiB
Plaintext
105 lines
2.3 KiB
Plaintext
Comparing files tbbtn.hpp and hold\tbbtn.hpp
|
|
FC: no differences encountered
|
|
|
|
Comparing files addbmp.hpp and hold\addbmp.hpp
|
|
****** addbmp.hpp
|
|
#ifndef _COMMON_COMMCTRL_HPP_
|
|
#include <commown/commctrl.hpp>
|
|
#endif
|
|
****** hold\addbmp.hpp
|
|
#ifndef _COMMON_COMMCTRL_HPP_
|
|
#include <common/commctrl.hpp>
|
|
#endif
|
|
******
|
|
|
|
|
|
Comparing files toolbar.hpp and hold\toolbar.hpp
|
|
****** toolbar.hpp
|
|
#endif
|
|
#ifndef _COMMON_SMARTPOINTER_HPP_
|
|
#include <common/pointer.hpp>
|
|
#endif
|
|
#ifndef _COMMON_CONTROL_HPP_
|
|
****** hold\toolbar.hpp
|
|
#endif
|
|
#ifndef _COMMON_CONTROL_HPP_
|
|
******
|
|
|
|
****** toolbar.hpp
|
|
|
|
class Rect;
|
|
****** hold\toolbar.hpp
|
|
|
|
|
|
class Rect;
|
|
******
|
|
|
|
****** toolbar.hpp
|
|
ToolBar &operator=(const ToolBar &someToolBar);
|
|
CallbackData::ReturnType sizeHandler(CallbackData &someCallbackData);
|
|
|
|
****** hold\toolbar.hpp
|
|
ToolBar &operator=(const ToolBar &someToolBar);
|
|
};
|
|
#endif
|
|
|
|
******
|
|
|
|
****** toolbar.hpp
|
|
Callback<ToolBar> mSizeHandler;
|
|
SmartPointer<GUIWindow> mParentWindow;
|
|
};
|
|
#endif
|
|
|
|
****** hold\toolbar.hpp
|
|
******
|
|
|
|
|
|
Comparing files toolbar.cpp and hold\toolbar.cpp
|
|
****** toolbar.cpp
|
|
{
|
|
mSizeHandler.setCallback(this,&ToolBar::sizeHandler);
|
|
CommonControlsEx commonControlsEx;
|
|
****** hold\toolbar.cpp
|
|
{
|
|
CommonControlsEx commonControlsEx;
|
|
******
|
|
|
|
****** toolbar.cpp
|
|
{
|
|
if(mParentWindow.isOkay())mParentWindow->removeHandler(VectorHandler::SizeHandler,&mSizeHandler);
|
|
destroy();
|
|
****** hold\toolbar.cpp
|
|
{
|
|
destroy();
|
|
******
|
|
|
|
****** toolbar.cpp
|
|
|
|
CallbackData::ReturnType ToolBar::sizeHandler(CallbackData &someCallbackData)
|
|
{
|
|
resize();
|
|
return (CallbackData::ReturnType)FALSE;
|
|
}
|
|
|
|
BOOL ToolBar::create(GUIWindow &parentWindow,UINT controlID,const Rect &initRect,UINT styles)
|
|
****** hold\toolbar.cpp
|
|
|
|
BOOL ToolBar::create(GUIWindow &parentWindow,UINT controlID,const Rect &initRect,UINT styles)
|
|
******
|
|
|
|
****** toolbar.cpp
|
|
if(isValid())return FALSE;
|
|
mParentWindow=&parentWindow;
|
|
mParentWindow->insertHandler(VectorHandler::SizeHandler,&mSizeHandler);
|
|
createControl(0L,TOOLBARCLASSNAME,String(),WS_CHILD|WS_BORDER|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS|styles,initRec
|
|
t,parentWindow,controlID);
|
|
buttonStructSize();
|
|
****** hold\toolbar.cpp
|
|
if(isValid())return FALSE;
|
|
createControl(0L,TOOLBARCLASSNAME,String(),WS_CHILD|WS_BORDER|WS_VISIBLE|styles,initRect,parentWindow,controlID);
|
|
buttonStructSize();
|
|
******
|
|
|
|
|