History log of /haiku/src/apps/pairs/PairsView.h
Revision Date Author Comments
# fdc05529 27-Jan-2014 John Scipione <jscipione@gmail.com>

IconSaver: add authors to authors list

…already in copyright statements


# 97e1b053 27-Jan-2014 John Scipione <jscipione@gmail.com>

Pairs: store vector icons, new size menu

* Search for vector icons from MIME database once at start,
limit to application super-type, this fulfills a TODO in the code
* Use a std::map keyed by a hash to avoid duplicate icons
eliminating _HasBitmap()
* Store the vector representation and then only build bitmaps
when needed
* Convert uses of int to int32
* Convert from using BList to BObjectList, simplified cleanup
* Rename variables and methods to not abbreviate/be more clear
e.g. fPosX, fPosY => fPositionX, fPositionY
e.g. _GenerateCardPos() => _GenerateCardPositions()
* Renamed PairsTopButton to PairsButton
* Integrate Size submenu into New menu item.
Size menu item goes away, you can select New to get a new game at
the current difficulty, or, you can drill down in the New menu to
choose from Beginner, Intermediate, or Expert.
* Add new Size menu to set the icon size: Small (32x32), Medium (64x64),
or Large (128x128). Default is medium
* Rename MENU_SIZE message constant to MENU_DIFFICULTY for clarity
* Eliminate PairsGlobal.h, distribute constants to appropriate files.


# c6b0a589 21-Jan-2014 John Scipione <jscipione@gmail.com>

Pairs: Style fixes and update copyright headers.

Update long description in rdef


# 4c587ade 05-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Adam Smith. Extended the Pairs application to support arbitrary board
sizes. Thanks a lot! Fixes ticket #5615.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36032 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 84df7867 27-Feb-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by stargater : localize pairs. Thanks !


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35630 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a29c739 15-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* When adding new bitmaps, Pairs now checks if it already got it (in case two
apps are using the same icon).
* This fixes bug #2694.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28133 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0eb592d7 12-Aug-2008 Axel Dörfler <axeld@pinc-software.de>

* Fixed off by one error in the number of clicks to finish the game (it can
hardly be odd).
* Fixed spelling error Genarate -> Generate.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26941 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cb2afe5c 28-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Patch by Ralf Schuelke with changes/fixes by myself:
* Pick 8 random icons from the application and preference folders
* Pick 8 different icons when the game starts again


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25224 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 69e62e48 23-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Added Pairs game contributed by Ralf Schuelke to the image! (Demo folder)
Thanks a lot, Ralf!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25114 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fdc055299718951a44e0fcd2dce7cda075190eec 27-Jan-2014 John Scipione <jscipione@gmail.com>

IconSaver: add authors to authors list

…already in copyright statements


# 97e1b053b63ba10e037388a4e21bcb93a3220210 27-Jan-2014 John Scipione <jscipione@gmail.com>

Pairs: store vector icons, new size menu

* Search for vector icons from MIME database once at start,
limit to application super-type, this fulfills a TODO in the code
* Use a std::map keyed by a hash to avoid duplicate icons
eliminating _HasBitmap()
* Store the vector representation and then only build bitmaps
when needed
* Convert uses of int to int32
* Convert from using BList to BObjectList, simplified cleanup
* Rename variables and methods to not abbreviate/be more clear
e.g. fPosX, fPosY => fPositionX, fPositionY
e.g. _GenerateCardPos() => _GenerateCardPositions()
* Renamed PairsTopButton to PairsButton
* Integrate Size submenu into New menu item.
Size menu item goes away, you can select New to get a new game at
the current difficulty, or, you can drill down in the New menu to
choose from Beginner, Intermediate, or Expert.
* Add new Size menu to set the icon size: Small (32x32), Medium (64x64),
or Large (128x128). Default is medium
* Rename MENU_SIZE message constant to MENU_DIFFICULTY for clarity
* Eliminate PairsGlobal.h, distribute constants to appropriate files.


# c6b0a589df98b29405084ccb4a1d67dddd693648 21-Jan-2014 John Scipione <jscipione@gmail.com>

Pairs: Style fixes and update copyright headers.

Update long description in rdef


# 4c587ade77bcb200752de38521ebcad77b37fee8 05-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Adam Smith. Extended the Pairs application to support arbitrary board
sizes. Thanks a lot! Fixes ticket #5615.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36032 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 84df7867f804b4d4aa9a591bb078c2d1332242e3 27-Feb-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by stargater : localize pairs. Thanks !


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35630 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a29c739af6299c51963c4f5c63fd49f113a74be 15-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* When adding new bitmaps, Pairs now checks if it already got it (in case two
apps are using the same icon).
* This fixes bug #2694.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28133 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0eb592d7feea6c1c77f7b361823e5c66fb96079e 12-Aug-2008 Axel Dörfler <axeld@pinc-software.de>

* Fixed off by one error in the number of clicks to finish the game (it can
hardly be odd).
* Fixed spelling error Genarate -> Generate.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26941 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cb2afe5cc76f0a40b2419ecf9e0f50eeab99f0fe 28-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Patch by Ralf Schuelke with changes/fixes by myself:
* Pick 8 random icons from the application and preference folders
* Pick 8 different icons when the game starts again


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25224 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 69e62e48b96dc6382c64b07cfd86106fa7953a2e 23-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Added Pairs game contributed by Ralf Schuelke to the image! (Demo folder)
Thanks a lot, Ralf!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25114 a95241bf-73f2-0310-859d-f6bbb57e9c96