1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-02 05:00:38 +00:00
QB64 Phoenix Edition. QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS. https://qb64phoenix.com
Go to file
FellippeHeitor 6ee70f1afa Makes _RGB32 more flexible and powerful.
Existing syntax:
colour~& = _RGB32(red, green, blue)

New possible uses:
- Instead of passing identical rgb values to achieve a shade of gray, pass only 1 parameter for all color components:

    colour~& = _RGB32(51) 'same as _RGB32(51, 51, 51)

- _RGB32 can now take an optional alpha parameter, which makes _RGBA32 obsolete (although it still exists for retrocompatibility):

    colour~& = _RGB32(255, 0, 255, 30) 'same as _RGBA32(255, 0, 255, 30)

- If you want a shade of gray and also to specify the alpha level, you can pass just two parameters:

    colour~& = _RGB32(51, 30) 'same as _RGBA32(51, 51, 51, 30)

In summary:

    - 1 parameter  = red, green and blue simultaneously set.
    - 2 parameters = red, green and blue simultaneously set plus alpha level.
    - 3 parameters = red, green and blue as usual.
    - 4 parameters = red, green and blue plus alpha level (same as _RGBA32).
2018-07-01 21:46:08 -03:00
.travis Try resolve non-finite builds 2018-01-19 21:42:19 +11:00
internal Makes _RGB32 more flexible and powerful. 2018-07-01 21:46:08 -03:00
LICENSE Update NanoJPEG to the version 1.3.5 2018-05-22 21:31:49 +02:00
programs Implements the _DIR$("desktop") function which returns OS specific paths. 2016-03-20 18:56:10 +11:00
source Makes _RGB32 more flexible and powerful. 2018-07-01 21:46:08 -03:00
.gitignore Print Output Simplification 2017-08-02 21:40:32 -04:00
.travis.yml Try enable deployment for development 2018-01-11 21:55:37 +11:00
appveyor.yml Cleanup 2018-01-13 02:06:04 +11:00
cyberbit.ttf (Automated push) Update internal/source/* from qb64.bas 2015-08-02 05:12:44 -07:00
qb64_start_osx.command Improve the start script in OS X. 2016-02-25 01:08:53 -03:00
README for Linux and OS X.txt Add instructions for Linux and OS X users to fix install scripts. 2016-03-24 08:41:35 -03:00
setup_lnx.sh Resolved the issue of user mods not working for $console:only programs 2017-09-25 21:56:24 +10:00
setup_osx.command Resolved the issue of user mods not working for $console:only programs 2017-09-25 21:56:24 +10:00
setup_win.bat Resolved the issue of user mods not working for $console:only programs 2017-09-25 21:56:24 +10:00
virtual_keyboard_layout_default.txt Added support for Android & Virtual Keyboards 2015-10-30 23:18:44 +11:00