6. HISTORY

In v. 1.15:
  • Added radio buttons and check boxes. I added these styles to the PMCX styles dialog. The "AUTORADIO" style isn't quite working yet.
  • Can display icons and text at the same time.
  • Draws a dotted box around the button text when the button has focus.
  • Moved the documentation into HTML code.
  • Fixed a few more logic errors.
  • Made the PMCX styles dialog use Shaded Buttons instead of normal buttons.
  • The button now gains focus when the mouse button is released instead of pressed (like real buttons).
  • Now handles a few more window messages.
In v. 1.10:
  • Fixed the code so that the gradient pattern displays properly, while keeping it in integer math. Now it looks a bit like the Bresenham line drawing algorithm ;-)
  • Fixed test1.exe so that it (more or less) behaves the way it should.
  • It's now a PMCX control, so it can be used in URE and Prominare Designer, and any other PMCX tool. (There are still a few glitches I have to work out, though.)
  • It now automatically redraws when the font presentation parameter is changed.
  • Started adding some code to draw radio buttons and check boxes. It's very incomplete though.
  • Fixed another logic error - darned order of operations.
  • Moved the history list here. (It was getting a bit big for ShadeBtn.txt.)
In v. 1.06: (not publicly released)
  • Added another demo program, and changed the directory structure around to make it less cluttered. Unfortunately, the demo program doesn't quite work properly. On the main screen, the vertical buttons should be coloured to indicate which components they control, and the status bar should indicate the colour of the box. The problem has something to do with my call to WinWindowFromID. Any ideas anyone? Don't ask me why I named the new program Test1.exe, and the old one Test2.exe. I don't know.
  • The MINIICON style works now.
  • I fixed a small logic error - I used logical not (!) instead of bitwise not (~) in one place. Oops.
In v. 1.05:
  • I went on another renaming spree. Now everything is prefixed by shB instead of SB to avoid confusion with the scroll bar class. Creating a header file with the appropriate #define's shouldn't be too hard if you're too lazy to change your code. I promise not to rename anything anymore.
  • I made the button styles to have the same values as corresponding styles in normal buttons (so any programs will need to be recompiled in order to use the new DLL file).
  • added ability to display a different bitmap when button is disabled.
  • cleaned up the code a bit.
  • presentation parameters seem to be working now -- actually, I think they were working all along, but I just forgot to repaint the window.
  • fixed the header file to be more C friendly (used C comments instead of C++)
  • vertical buttons now work.
In v. 1.01:
  • minor bugfix in the example program. The background was black instead of light grey when it was run in Warp 4. Apparently, Warp 4 defaults to using the RGB colours, while Warp 3 defaults to using indexed colours.
  • disabled buttons are displayed with a more chiseled look
  • minor change in the example program. The "About" button is disable/enabled when the shrink button is disabled/enabled, to demonstrate the new look for disabled buttons.
In v. 1.00:
  • it now works as a DLL!
  • previous versions wouldn't have worked if you tried to link to a normal C file. This is now fixed.
  • renamed pretty much everything. Now you call SBtnInit() to register the window class. Button styles are now prefixed with SBS, button messages are prefixed with SBM, and presentation parameters are prefixed with SBPP. The class name is changed, with WC_SHADEBTN defined as the new name (don't use SHADEDBTNCLASS any more). All the previous Button.* files are renamed to ShadeBtn.*. (It shouldn't be hard to create a header file to make appropriate #define's so that old code can be reused)
  • added a function to return the version number (SBtnQueryVersion).
  • added ability to change background colour.
  • fixed the colouring outside of the lines when drawing rounded buttons, and got rid of some floating point calculations.
In v. 0.20:
  • added a window message (GBM_SETCOLOR) to change the colour of the button
  • added a few buttons to the demo program, and made the status bar do something more interresting
  • buttons can now have rounded sides
  • I've decided to make it completely free
  • fixed some spelling mistakes in this file ;-)
In v. 0.10:
  • initial release



Back
Last updated March 9, 1998. <><
Created by Hubert Chan.