Skip to content

Commit

Permalink
Minor changes for 0.0.7 release.
Browse files Browse the repository at this point in the history
Updated the Makefile.msc and fixed some issues with the MSVC compiler.
Moved GraphicsPath::Node implementation to the DLL.
Added FigureProperties in Paths example.
Fixed a couple of bugs Paths example.
  • Loading branch information
dacap committed Sep 20, 2008
1 parent a8a744f commit b3f6e2d
Show file tree
Hide file tree
Showing 20 changed files with 472 additions and 290 deletions.
2 changes: 2 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ THANKS TO
Boost http://www.boost.org/
Doxygen http://www.doxygen.org/
GCC http://gcc.gnu.org/
GTK+ http://www.gtk.org/
MinGW http://www.mingw.org/
Scintilla http://www.scintilla.org/
Wine http://www.winehq.com/
wxWidgets http://www.wxwidgets.org/

----------------------------------------------------------------------
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Vaca - Visual Application Components Abstraction

Copyright (c) 2005, 2006, David A. Capello
Copyright (c) 2005, 2006, 2007, 2008, David A. Capello
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
75 changes: 54 additions & 21 deletions Makefile.msc
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,20 @@ OBJS = obj/Anchor.obj obj/AnchorLayout.obj obj/Application.obj \
obj/DockBar.obj obj/DockFrame.obj obj/DropFilesEvent.obj \
obj/Edit.obj obj/Event.obj obj/FileDialog.obj obj/FindTextDialog.obj \
obj/Font.obj obj/FontDialog.obj obj/Frame.obj obj/Graphics.obj \
obj/GraphicsPath.obj obj/GroupBox.obj obj/Icon.obj obj/Image.obj \
obj/ImageList.obj obj/KeyEvent.obj obj/Keys.obj obj/Label.obj \
obj/Layout.obj obj/LinkLabel.obj obj/ListBox.obj obj/ListView.obj \
obj/Mdi.obj obj/Menu.obj obj/MenuItemEvent.obj obj/MouseEvent.obj \
obj/MsgBox.obj obj/Mutex.obj obj/Panel.obj obj/Pen.obj obj/Point.obj \
obj/GraphicsPath.obj obj/GroupBox.obj obj/HttpRequest.obj \
obj/Icon.obj obj/Image.obj obj/ImageList.obj obj/KeyEvent.obj \
obj/Keys.obj obj/Label.obj obj/Layout.obj obj/LinkLabel.obj \
obj/ListBox.obj obj/ListView.obj obj/Mdi.obj obj/Menu.obj \
obj/MenuItemEvent.obj obj/MouseEvent.obj obj/MsgBox.obj \
obj/Mutex.obj obj/Panel.obj obj/Pen.obj obj/Point.obj \
obj/ProgressBar.obj obj/RadioButton.obj obj/ReBar.obj obj/Rect.obj \
obj/Region.obj obj/ResourceId.obj obj/Scintilla.obj \
obj/Separator.obj obj/Size.obj obj/Slider.obj obj/SpinButton.obj \
obj/Spinner.obj obj/String.obj obj/Style.obj obj/System.obj \
obj/Tab.obj obj/Thread.obj obj/TimePoint.obj obj/Timer.obj \
obj/ToggleButton.obj obj/ToolBar.obj obj/TreeNode.obj \
obj/TreeView.obj obj/TreeViewEvent.obj obj/Vaca.obj obj/Widget.obj \
obj/WidgetClass.obj
obj/Referenceable.obj obj/Region.obj obj/ResourceId.obj \
obj/Scintilla.obj obj/Separator.obj obj/Size.obj obj/Slider.obj \
obj/SpinButton.obj obj/Spinner.obj obj/StatusBar.obj obj/String.obj \
obj/Style.obj obj/System.obj obj/Tab.obj obj/Thread.obj \
obj/TimePoint.obj obj/Timer.obj obj/ToggleButton.obj obj/ToolBar.obj \
obj/TreeNode.obj obj/TreeView.obj obj/TreeViewEvent.obj obj/Vaca.obj \
obj/Widget.obj obj/WidgetClass.obj

EXAMPLES_EXE = bin/AnchorLayouts.exe bin/AutoCompletion.exe \
bin/Bixes.exe bin/BouncingBalls.exe bin/BoxLayouts.exe \
Expand All @@ -70,16 +71,25 @@ EXAMPLES_EXE = bin/AnchorLayouts.exe bin/AutoCompletion.exe \
bin/Edits.exe bin/EyeDropper.exe bin/FontMetrics.exe \
bin/FreeOfLayout.exe bin/Hashing.exe bin/HelloWorld.exe \
bin/Images.exe bin/Labels.exe bin/LikeScript.exe bin/Maths.exe \
bin/MenuResource.exe bin/MiniExplorer.exe bin/PensBrushes.exe \
bin/Primitives.exe bin/ProgressBars.exe bin/Regions.exe \
bin/Scribble.exe bin/Sliders.exe bin/Spinners.exe \
bin/MenuResource.exe bin/MiniExplorer.exe bin/Minimal.exe \
bin/Paths.exe bin/Primitives.exe bin/ProgressBars.exe \
bin/Regions.exe bin/Scribble.exe bin/Sliders.exe bin/Spinners.exe \
bin/StdCommands.exe bin/Sudoku.exe bin/SystemImageList.exe \
bin/Tabs.exe bin/TextEditor.exe bin/Threads.exe bin/Timers.exe \
bin/ToolBars.exe bin/Trees.exe bin/Undo.exe bin/WebCam.exe

TESTS_EXE = bin/test_bind.exe bin/test_menu.exe bin/test_point.exe \
bin/test_rect.exe bin/test_signal.exe bin/test_size.exe \
bin/test_string.exe bin/test_thread.exe
TESTS_EXE = \
bin/test_bind.exe \
bin/test_menu.exe \
bin/test_point.exe \
bin/test_rect.exe \
bin/test_region.exe \
bin/test_signal.exe \
bin/test_size.exe \
bin/test_smartptr.exe \
bin/test_string.exe \
bin/test_tab.exe \
bin/test_thread.exe

# ----------------------------------------------------------------------
# Rules
Expand Down Expand Up @@ -167,7 +177,8 @@ bin/LikeScript.exe: obj/LikeScript.obj obj/Example.res
bin/Maths.exe: obj/Maths.obj obj/Example.res
bin/MenuResource.exe: obj/MenuResource.obj obj/MenuResource.res
bin/MiniExplorer.exe: obj/MiniExplorer.obj obj/Example.res
bin/PensBrushes.exe: obj/PensBrushes.obj obj/Example.res
bin/Minimal.exe: obj/Minimal.obj obj/Example.res
bin/Paths.exe: obj/Paths.obj obj/Example.res
bin/Primitives.exe: obj/Primitives.obj obj/Example.res
bin/ProgressBars.exe: obj/ProgressBars.obj obj/Example.res
bin/Regions.exe: obj/Regions.obj obj/Example.res
Expand Down Expand Up @@ -262,8 +273,10 @@ obj/MenuResource.obj: examples/MenuResource/MenuResource.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c examples/MenuResource/MenuResource.cpp
obj/MiniExplorer.obj: examples/MiniExplorer/MiniExplorer.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c examples/MiniExplorer/MiniExplorer.cpp
obj/PensBrushes.obj: examples/PensBrushes/PensBrushes.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c examples/PensBrushes/PensBrushes.cpp
obj/Minimal.obj: examples/Minimal/Minimal.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c examples/Minimal/Minimal.cpp
obj/Paths.obj: examples/Paths/Paths.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c examples/Paths/Paths.cpp
obj/Primitives.obj: examples/Primitives/Primitives.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c examples/Primitives/Primitives.cpp
obj/ProgressBars.obj: examples/ProgressBars/ProgressBars.cpp
Expand Down Expand Up @@ -305,13 +318,33 @@ obj/WebCam.obj: examples/WebCam/WebCam.cpp

obj/test_bind.obj: tests/test_bind.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_bind.cpp

obj/test_menu.obj: tests/test_menu.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_menu.cpp

obj/test_point.obj: tests/test_point.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_point.cpp

obj/test_rect.obj: tests/test_rect.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_rect.cpp

obj/test_region.obj: tests/test_region.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_region.cpp

obj/test_signal.obj: tests/test_signal.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_signal.cpp

obj/test_size.obj: tests/test_size.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_size.cpp

obj/test_smartptr.obj: tests/test_smartptr.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_smartptr.cpp

obj/test_string.obj: tests/test_string.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_string.cpp

obj/test_tab.obj: tests/test_tab.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_tab.cpp

obj/test_thread.obj: tests/test_thread.cpp
$(CPP) -nologo $(CPPFLAGS) -Foobj/ -c tests/test_thread.cpp
17 changes: 8 additions & 9 deletions NEWS.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
Vaca 0.0.7

- ~Widget now destroys automatically the widget's children.
- Added MenuPopup.
- Renamed MouseButtons to MouseButton.
- Added RefWrapper class and Ref() method to support references in Bind().
- Added GraphicsPath.
- Added HttpRequest class.
- Added FontMetrics class.
- Added StatusBar widget. Now Frame has an associated StatusBar.
- Added Separator widget.
- Added RadioGroup::onChange event/signal.
- All methods that return Win32 handles (HWND, HDC, HBRUSH,
HRGN, etc.) now are called getHandle().
- Added GdiObject and SmartPtr.
- Brush, Cursor, Font, Icon, Image, ImageList, Pen, and
Region are SmartPtrs.
- Added GdiObject and SmartPtr.
- Widget destructor deletes children.
- Added HttpRequest class.
- Added FontMetrics class.
- Renamed MouseButtons to MouseButton.
- Renamed Borders to Sides.
- Added StatusBar widget. Now Frame has an associated StatusBar.
- Added Separator widget.
- Added RadioGroup::onChange event/signal.
- Fixed Bix::getPreferredSize when EvenX or EvenY flags are activated.
- Now MenuItem::setEnabled/Checked can be used although the item isn't
in a parent Menu.
- Removed SelfDestruction class.
- Removed SelfDestruction class (with SmartPtrs isn't needed anymore).

Vaca 0.0.6

Expand Down
17 changes: 12 additions & 5 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
Vaca - Visual Application Components Abstraction
Copyright (c) 2005, 2006, David A. Capello
Copyright (c) 2005, 2006, 2007, 2008, David A. Capello
All rights reserved.

--

Vaca is a library to wrap the Win32 API with C++ classes. Also, it's
has some extra functionalities like dockable tool bars and layout
managers. This library uses templates (but not generic programming),
and Boost (the Boost.Signals library is just perfect).
Vaca is a library to develop GUI applications with C++.
It uses templates and STL, and has some special features like
dockable tool bars and layout managers.

Vaca is a wrapper for the Win32 API. What is the Win32 API? You don't
need to know about it, but it is the set of routines that Microsoft
gives you to program applications on Windows.

--

http://vaca.sourceforge.net/
11 changes: 1 addition & 10 deletions TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
General
----------------------------------------------------------------------

- Look at 'TODO' in source code
- Look at 'TODO' or '@todo' in source code


----------------------------------------------------------------------
Expand Down Expand Up @@ -31,12 +31,9 @@ Widgets
Examples
----------------------------------------------------------------------

- FontMetrics (finish it)
- PensBrushes (finish Brushes stuff)
- DataGrids (complete)
- Sudoku (double-buffered, with better hot-tracking, better cell
handle, and fix the "infinite-loop" bug in the level generator)
- Remove CommandsAlt, LikeDOS, ThreadKiller
- Finish Xuls or GridLayout


Expand Down Expand Up @@ -65,8 +62,6 @@ API

- Add support for FlashWindowEx.

- See what to do with the Command class.

- Remember the WM_MENUSELECT message for status-bars.

- add support for DrawFrameControl, DrawState, DrawEdge
Expand All @@ -78,7 +73,3 @@ API
- mouseHover should be? (there is already some code)

- a "MVC: Model View Controller" pattern (also known as Observer pattern).

- Graphics::widenPath()

- finish GraphicsPath class
60 changes: 30 additions & 30 deletions doc/pages/classes.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ namespace Vaca {
@li @ref page_classes_base
@li @ref page_classes_app
@li @ref page_classes_graphics
@li @ref page_classes_mess
@li @ref page_classes_widgets
@li @ref page_classes_mess
@li @ref page_classes_cmds
@li @ref page_classes_menus
@li @ref page_classes_layout
Expand Down Expand Up @@ -68,35 +68,6 @@ namespace Vaca {
@endTable
@section page_classes_mess MESS
@beginOverviewTable
@titleRow{Messages}
@itemRow{Message}
@titleRow{Events}
@itemRow{CancelableEvent}
@itemRow{CloseEvent}
@itemRow{DropFilesEvent}
@itemRow{Event}
@itemRow{KeyEvent}
@itemRow{ListViewEvent}
@itemRow{MenuItemEvent}
@itemRow{MouseEvent}
@itemRow{SpinButtonEvent}
@itemRow{TreeViewEvent}
@titleRow{Signals}
@itemRow{Signal0}
@itemRow{Signal1}
@itemRow{Signal2}
@titleRow{Slots}
@itemRow{Slot0}
@itemRow{Slot1}
@itemRow{Slot2}
@titleRow{Other}
@itemRow{RefWrapper}
@endTable
@section page_classes_widgets Widgets
@beginOverviewTable
Expand Down Expand Up @@ -178,6 +149,35 @@ namespace Vaca {
@endTable
@section page_classes_mess MESS
@beginOverviewTable
@titleRow{Messages}
@itemRow{Message}
@titleRow{Events}
@itemRow{CancelableEvent}
@itemRow{CloseEvent}
@itemRow{DropFilesEvent}
@itemRow{Event}
@itemRow{KeyEvent}
@itemRow{ListViewEvent}
@itemRow{MenuItemEvent}
@itemRow{MouseEvent}
@itemRow{SpinButtonEvent}
@itemRow{TreeViewEvent}
@titleRow{Signals}
@itemRow{Signal0}
@itemRow{Signal1}
@itemRow{Signal2}
@titleRow{Slots}
@itemRow{Slot0}
@itemRow{Slot1}
@itemRow{Slot2}
@titleRow{Other}
@itemRow{RefWrapper}
@endTable
@section page_classes_cmds Commands
@beginOverviewTable
Expand Down
5 changes: 5 additions & 0 deletions doc/pages/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ namespace Vaca {
@li @ref page_debug_log
@section page_debug_log Log file
A log file called "vaca.log" is created when you use the debug version
of Vaca library. It contains all the output create with
the @ref VACA_TRACE macro.
*/

}
2 changes: 2 additions & 0 deletions doc/pages/examples.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,12 @@ memory leaks (Image is a SmartPtr).
@section page_examples_webcam WebCam Example
@win32
This example shows how to override the Widget#createHandle method to
create your own HWND.
It uses the Video for Windows (VfW) API.
@endwin32
*/

Expand Down
2 changes: 2 additions & 0 deletions doc/pages/functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ namespace Vaca {
@titleRow{Bindings}
@itemRow{page_bind, Adapts functions or methods to be connected to signals.}
@itemRow{Ref}
@titleRow{Debug}
@itemRow{VACA_TRACE}
@endTable
*/
Expand Down
Loading

0 comments on commit b3f6e2d

Please sign in to comment.