Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
ModernUI_Region.asm
ModernUI_Region.h
ModernUI_Region.inc
ModernUI_Region.lib
ModernUI_Region.rap
README.md
regioncreator.exe

README.md

ModernUI_RegionButton

The ModernUI_RegionButton is a button control like the standard win32 button control, except it is an irregular shape, defined by polygons or premade regions. It provides ease of use and more customizable features, like color of background, border, and colors for when the mouse moves over the control, or the control is in a selected state, and can use a bitmap brush to paint a collection of ModernUI_RegionButton controls, for example for maps: country, county and/or state regions.

For the x64 version of the ModernUI_RegionButton control, visit here.

Setup ModernUI_RegionButton

  • Download the latest version of the ModernUI_RegionButton and extract the files. The latest release can be found in the Release folder, or via the releases section of this Github repository or can be downloaded directly from here.
  • Copy the ModernUI_RegionButton.inc file to your masm32\include folder (or wherever your includes are located)
  • Copy the ModernUI_RegionButton.lib file to your masm32\lib folder (or wherever your libraries are located)
  • Add the main ModernUI library to your project (if you haven't done so already):
include ModernUI.inc
includelib ModernUI.lib
  • Add the ModernUI_RegionButton control to your project:
include ModernUI_RegionButton.inc
includelib ModernUI_RegionButton.lib

ModernUI_RegionButton API Help

Documentation is available for the ModernUI_RegionButton functions, styles and properties used by the control on the wiki: ModernUI_RegionButton Control

Other Resources

For maps and converting svg files to polygon points: