Author Topic: $COLOR32  (Read 3586 times)

0 Members and 1 Guest are viewing this topic.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
$COLOR32
« on: August 01, 2019, 03:45:27 pm »
As most of you guys know, I've got a 32-bit color library with which I've collected all sorts of color values and names from the net and various places in the past, which I use with QB64.  It's an essential component for my coding style, and I use it constantly -- for almost everything!!

As I was working on QB64.bas earler, to fix the glitch in the CONST math routines (here: https://www.qb64.org/forum/index.php?topic=1554.0 ), I thought I'd go ahead and take a few moments to see how complex it'd be to add those CONST values into QB64, for ease of use via a MetaCommand...   What I've came up with is in the QB64.bas file attached below.



Download the file.
Extract it to your QB64\source folder.
Use QB64.exe to open the file and compile it, and create yourself a QB64(2).exe.

You should be able to use that new exe to do things as simple as:
Code: QB64: [Select]
  1. $COLOR32
  2. PRINT AliceBlue
  3. PRINT Red
  4. SCREEN _NEWIMAGE(640, 480, 32)
  5. LINE (100, 100)-(200, 200), Red, BF
  6. LINE (200, 200)-(300, 300), Gold, BF

With one command, all those color values get added automatically into your CONST list, without requiring an external file or the parsing of an $INCLUDE library.



It's an easy enough change for me to make with QB64, if you guys would be interested in it -- after all, the work's already finished on it; all I'd have to do is push the changes into the repo...   

My question is:  Would folks be interested in being able to add those values to a program with a simple $COLOR32 metacommand?  Or, is this one of those features which it seems like I'm the only person around enjoys, and which I'll just script to push quickly into my personal version which I code with?
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: $COLOR32
« Reply #1 on: August 01, 2019, 03:47:20 pm »
Color names and values are below, for those who might be interested:

Code: QB64: [Select]
  1. CONST AliceBlue = &HFFF0F8FF~& ' _RGB32(240,248,255)
  2. CONST Almond = &HFFEFDECD~& '_RGB32(239,222,205)
  3. CONST AntiqueBrass = &HFFCD9575~& '_RGB32(205,149,117)
  4. CONST AntiqueWhite = &HFFFAEBD7~& ' _RGB32(250,235,215)
  5. CONST Apricot = &HFFFDD9B5~& '_RGB32(253,217,181)
  6. CONST Aqua = &HFF00FFFF~& ' _RGB32(0,255,255)
  7. CONST Aquamarine = &HFF7FFFD4~& ' _RGB32(127,255,212)
  8. CONST Asparagus = &HFF87A96B~& '_RGB32(135,169,107)
  9. CONST AtomicTangerine = &HFFFFA474~& '_RGB32(255,164,116)
  10. CONST Azure = &HFFF0FFFF~& ' _RGB32(240,255,255)
  11. CONST BananaMania = &HFFFAE7B5~& '_RGB32(250,231,181)
  12. CONST Beaver = &HFF9F8170~& '_RGB32(159,129,112)
  13. CONST Beige = &HFFF5F5DC~& ' _RGB32(245,245,220)
  14. CONST Bisque = &HFFFFE4C4~& ' _RGB32(255,228,196)
  15. CONST Bittersweet = &HFFFD7C6E~& '_RGB32(253,124,110)
  16. CONST Black = &HFF000000~& ' _RGB32(0,0,0)
  17. CONST BlanchedAlmond = &HFFFFEBCD~& ' _RGB32(255,235,205)
  18. CONST BlizzardBlue = &HFFACE5EE~& '_RGB32(172,229,238)
  19. CONST Blue = &HFF0000FF~& ' _RGB32(0,0,255)
  20. CONST BlueBell = &HFFA2A2D0~& '_RGB32(162,162,208)
  21. CONST BlueGray = &HFF6699CC~& '_RGB32(102,153,204)
  22. CONST BlueGreen = &HFF0D98BA~& '_RGB32(13,152,186)
  23. CONST BlueViolet = &HFF8A2BE2~& ' _RGB32(138,43,226)
  24. CONST Blush = &HFFDE5D83~& '_RGB32(222,93,131)
  25. CONST BrickRed = &HFFCB4154~& '_RGB32(203,65,84)
  26. CONST Brown = &HFFA52A2A~& ' _RGB32(165,42,42)
  27. CONST BurlyWood = &HFFDEB887~& ' _RGB32(222,184,135)
  28. CONST BurntOrange = &HFFFF7F49~& '_RGB32(255,127,73)
  29. CONST BurntSienna = &HFFEA7E5D~& '_RGB32(234,126,93)
  30. CONST CadetBlue = &HFF5F9EA0~& ' _RGB32(95,158,160)
  31. CONST Canary = &HFFFFFF99~& '_RGB32(255,255,153)
  32. CONST CaribbeanGreen = &HFF1CD3A2~& '_RGB32(28,211,162)
  33. CONST CarnationPink = &HFFFFAACC~& '_RGB32(255,170,204)
  34. CONST Cerise = &HFFDD4492~& '_RGB32(221,68,146)
  35. CONST Cerulean = &HFF1DACD6~& '_RGB32(29,172,214)
  36. CONST ChartReuse = &HFF7FFF00~& ' _RGB32(127,255,0)
  37. CONST Chestnut = &HFFBC5D58~& '_RGB32(188,93,88)
  38. CONST Chocolate = &HFFD2691E~& ' _RGB32(210,105,30)
  39. CONST Copper = &HFFDD9475~& '_RGB32(221,148,117)
  40. CONST Coral = &HFFFF7F50~& ' _RGB32(255,127,80)
  41. CONST Cornflower = &HFF9ACEEB~& '_RGB32(154,206,235)
  42. CONST CornflowerBlue = &HFF6495ED~& ' _RGB32(100,149,237)
  43. CONST Cornsilk = &HFFFFF8DC~& ' _RGB32(255,248,220)
  44. CONST CottonCandy = &HFFFFBCD9~& '_RGB32(255,188,217)
  45. CONST CrayolaAquamarine = &HFF78DBE2~& '_RGB32(120,219,226)
  46. CONST CrayolaBlue = &HFF1F75FE~& '_RGB32(31,117,254)
  47. CONST CrayolaBlueViolet = &HFF7366BD~& '_RGB32(115,102,189)
  48. CONST CrayolaBrown = &HFFB4674D~& '_RGB32(180,103,77)
  49. CONST CrayolaCadetBlue = &HFFB0B7C6~& '_RGB32(176,183,198)
  50. CONST CrayolaForestGreen = &HFF6DAE81~& '_RGB32(109,174,129)
  51. CONST CrayolaGold = &HFFE7C697~& '_RGB32(231,198,151)
  52. CONST CrayolaGoldenrod = &HFFFCD975~& '_RGB32(252,217,117)
  53. CONST CrayolaGray = &HFF95918C~& '_RGB32(149,145,140)
  54. CONST CrayolaGreen = &HFF1CAC78~& '_RGB32(28,172,120)
  55. CONST CrayolaGreenYellow = &HFFF0E891~& '_RGB32(240,232,145)
  56. CONST CrayolaIndigo = &HFF5D76CB~& '_RGB32(93,118,203)
  57. CONST CrayolaLavender = &HFFFCB4D5~& '_RGB32(252,180,213)
  58. CONST CrayolaMagenta = &HFFF664AF~& '_RGB32(246,100,175)
  59. CONST CrayolaMaroon = &HFFC8385A~& '_RGB32(200,56,90)
  60. CONST CrayolaMidnightBlue = &HFF1A4876~& '_RGB32(26,72,118)
  61. CONST CrayolaOrange = &HFFFF7538~& '_RGB32(255,117,56)
  62. CONST CrayolaOrangeRed = &HFFFF2B2B~& '_RGB32(255,43,43)
  63. CONST CrayolaOrchid = &HFFE6A8D7~& '_RGB32(230,168,215)
  64. CONST CrayolaPlum = &HFF8E4585~& '_RGB32(142,69,133)
  65. CONST CrayolaRed = &HFFEE204D~& '_RGB32(238,32,77)
  66. CONST CrayolaSalmon = &HFFFF9BAA~& '_RGB32(255,155,170)
  67. CONST CrayolaSeaGreen = &HFF9FE2BF~& '_RGB32(159,226,191)
  68. CONST CrayolaSilver = &HFFCDC5C2~& '_RGB32(205,197,194)
  69. CONST CrayolaSkyBlue = &HFF80DAEB~& '_RGB32(128,218,235)
  70. CONST CrayolaSpringGreen = &HFFECEABE~& '_RGB32(236,234,190)
  71. CONST CrayolaTann = &HFFFAA76C~& '_RGB32(250,167,108)
  72. CONST CrayolaThistle = &HFFEBC7DF~& '_RGB32(235,199,223)
  73. CONST CrayolaViolet = &HFF926EAE~& '_RGB32(146,110,174)
  74. CONST CrayolaYellow = &HFFFCE883~& '_RGB32(252,232,131)
  75. CONST CrayolaYellowGreen = &HFFC5E384~& '_RGB32(197,227,132)
  76. CONST Crimson = &HFFDC143C~& ' _RGB32(220,20,60)
  77. CONST Cyan = &HFF00FFFF~& ' _RGB32(0,255,255)
  78. CONST Dandelion = &HFFFDDB6D~& '_RGB32(253,219,109)
  79. CONST DarkBlue = &HFF00008B~& ' _RGB32(0,0,139)
  80. CONST DarkCyan = &HFF008B8B~& ' _RGB32(0,139,139)
  81. CONST DarkGoldenRod = &HFFB8860B~& ' _RGB32(184,134,11)
  82. CONST DarkGray = &HFFA9A9A9~& ' _RGB32(169,169,169)
  83. CONST DarkGreen = &HFF006400~& ' _RGB32(0,100,0)
  84. CONST DarkKhaki = &HFFBDB76B~& ' _RGB32(189,183,107)
  85. CONST DarkMagenta = &HFF8B008B~& ' _RGB32(139,0,139)
  86. CONST DarkOliveGreen = &HFF556B2F~& ' _RGB32(85,107,47)
  87. CONST DarkOrange = &HFFFF8C00~& ' _RGB32(255,140,0)
  88. CONST DarkOrchid = &HFF9932CC~& ' _RGB32(153,50,204)
  89. CONST DarkRed = &HFF8B0000~& ' _RGB32(139,0,0)
  90. CONST DarkSalmon = &HFFE9967A~& ' _RGB32(233,150,122)
  91. CONST DarkSeaGreen = &HFF8FBC8F~& ' _RGB32(143,188,143)
  92. CONST DarkSlateBlue = &HFF483D8B~& ' _RGB32(72,61,139)
  93. CONST DarkSlateGray = &HFF2F4F4F~& ' _RGB32(47,79,79)
  94. CONST DarkTurquoise = &HFF00CED1~& ' _RGB32(0,206,209)
  95. CONST DarkViolet = &HFF9400D3~& ' _RGB32(148,0,211)
  96. CONST DeepPink = &HFFFF1493~& ' _RGB32(255,20,147)
  97. CONST DeepSkyBlue = &HFF00BFFF~& ' _RGB32(0,191,255)
  98. CONST Denim = &HFF2B6CC4~& '_RGB32(43,108,196)
  99. CONST DesertSand = &HFFEFCDB8~& '_RGB32(239,205,184)
  100. CONST DimGray = &HFF696969~& ' _RGB32(105,105,105)
  101. CONST DodgerBlue = &HFF1E90FF~& ' _RGB32(30,144,255)
  102. CONST Eggplant = &HFF6E5160~& '_RGB32(110,81,96)
  103. CONST ElectricLime = &HFFCEFF1D~& '_RGB32(206,255,29)
  104. CONST Fern = &HFF71BC78~& '_RGB32(113,188,120)
  105. CONST FireBrick = &HFFB22222~& ' _RGB32(178,34,34)
  106. CONST Floralwhite = &HFFFFFAF0~& ' _RGB32(255,250,240)
  107. CONST ForestGreen = &HFF228B22~& ' _RGB32(34,139,34)
  108. CONST Fuchsia = &HFFC364C5~& '_RGB32(195,100,197)
  109. CONST FuzzyWuzzy = &HFFCC6666~& '_RGB32(204,102,102)
  110. CONST Gainsboro = &HFFDCDCDC~& ' _RGB32(220,220,220)
  111. CONST GhostWhite = &HFFF8F8FF~& ' _RGB32(248,248,255)
  112. CONST Gold = &HFFFFD700~& ' _RGB32(255,215,0)
  113. CONST GoldenRod = &HFFDAA520~& ' _RGB32(218,165,32)
  114. CONST GrannySmithApple = &HFFA8E4A0~& '_RGB32(168,228,160)
  115. CONST Gray = &HFF808080~& ' _RGB32(128,128,128)
  116. CONST Green = &HFF008000~& ' _RGB32(0,128,0)
  117. CONST GreenBlue = &HFF1164B4~& '_RGB32(17,100,180)
  118. CONST GreenYellow = &HFFADFF2F~& ' _RGB32(173,255,47)
  119. CONST HoneyDew = &HFFF0FFF0~& ' _RGB32(240,255,240)
  120. CONST HotMagenta = &HFFFF1DCE~& '_RGB32(255,29,206)
  121. CONST HotPink = &HFFFF69B4~& ' _RGB32(255,105,180)
  122. CONST Inchworm = &HFFB2EC5D~& '_RGB32(178,236,93)
  123. CONST IndianRed = &HFFCD5C5C~& ' _RGB32(205,92,92)
  124. CONST Indigo = &HFF4B0082~& ' _RGB32(75,0,130)
  125. CONST Ivory = &HFFFFFFF0~& ' _RGB32(255,255,240)
  126. CONST JazzberryJam = &HFFCA3767~& '_RGB32(202,55,103)
  127. CONST JungleGreen = &HFF3BB08F~& '_RGB32(59,176,143)
  128. CONST Khaki = &HFFF0E68C~& ' _RGB32(240,230,140)
  129. CONST LaserLemon = &HFFFEFE22~& '_RGB32(254,254,34)
  130. CONST Lavender = &HFFE6E6FA~& ' _RGB32(230,230,250)
  131. CONST LavenderBlush = &HFFFFF0F5~& ' _RGB32(255,240,245)
  132. CONST LawnGreen = &HFF7CFC00~& ' _RGB32(124,252,0)
  133. CONST LemonChiffon = &HFFFFFACD~& ' _RGB32(255,250,205)
  134. CONST LemonYellow = &HFFFFF44F~& '_RGB32(255,244,79)
  135. CONST LightBlue = &HFFADD8E6~& ' _RGB32(173,216,230)
  136. CONST LightCoral = &HFFF08080~& ' _RGB32(240,128,128)
  137. CONST LightCyan = &HFFE0FFFF~& ' _RGB32(224,255,255)
  138. CONST LightGoldenRodYellow = &HFFFAFAD2~& ' _RGB32(250,250,210)
  139. CONST LightGray = &HFFD3D3D3~& ' _RGB32(211,211,211)
  140. CONST LightGreen = &HFF90EE90~& ' _RGB32(144,238,144)
  141. CONST LightPink = &HFFFFB6C1~& ' _RGB32(255,182,193)
  142. CONST LightSalmon = &HFFFFA07A~& ' _RGB32(255,160,122)
  143. CONST LightSeaGreen = &HFF20B2AA~& ' _RGB32(32,178,170)
  144. CONST LightSkyBlue = &HFF87CEFA~& ' _RGB32(135,206,250)
  145. CONST LightSlateGray = &HFF778899~& ' _RGB32(119,136,153)
  146. CONST LightSteelBlue = &HFFB0C4DE~& ' _RGB32(176,196,222)
  147. CONST LightYellow = &HFFFFFFE0~& ' _RGB32(255,255,224)
  148. CONST Lime = &HFF00FF00~& ' _RGB32(0,255,0)
  149. CONST LimeGreen = &HFF32CD32~& ' _RGB32(50,205,50)
  150. CONST Linen = &HFFFAF0E6~& ' _RGB32(250,240,230)
  151. CONST MacaroniAndCheese = &HFFFFBD88~& '_RGB32(255,189,136)
  152. CONST Magenta = &HFFFF00FF~& ' _RGB32(255,0,255)
  153. CONST MagicMint = &HFFAAF0D1~& '_RGB32(170,240,209)
  154. CONST Mahogany = &HFFCD4A4C~& '_RGB32(205,74,76)
  155. CONST Maize = &HFFEDD19C~& '_RGB32(237,209,156)
  156. CONST Manatee = &HFF979AAA~& '_RGB32(151,154,170)
  157. CONST MangoTango = &HFFFF8243~& '_RGB32(255,130,67)
  158. CONST Maroon = &HFF800000~& ' _RGB32(128,0,0)
  159. CONST Mauvelous = &HFFEF98AA~& '_RGB32(239,152,170)
  160. CONST MediumAquamarine = &HFF66CDAA~& ' _RGB32(102,205,170)
  161. CONST MediumBlue = &HFF0000CD~& ' _RGB32(0,0,205)
  162. CONST MediumOrchid = &HFFBA55D3~& ' _RGB32(186,85,211)
  163. CONST MediumPurple = &HFF9370DB~& ' _RGB32(147,112,219)
  164. CONST MediumSeaGreen = &HFF3CB371~& ' _RGB32(60,179,113)
  165. CONST MediumSlateBlue = &HFF7B68EE~& ' _RGB32(123,104,238)
  166. CONST MediumSpringGreen = &HFF00FA9A~& ' _RGB32(0,250,154)
  167. CONST MediumTurquoise = &HFF48D1CC~& ' _RGB32(72,209,204)
  168. CONST MediumVioletRed = &HFFC71585~& ' _RGB32(199,21,133)
  169. CONST Melon = &HFFFDBCB4~& '_RGB32(253,188,180)
  170. CONST MidnightBlue = &HFF191970~& ' _RGB32(25,25,112)
  171. CONST MintCream = &HFFF5FFFA~& ' _RGB32(245,255,250)
  172. CONST MistyRose = &HFFFFE4E1~& ' _RGB32(255,228,225)
  173. CONST Moccasin = &HFFFFE4B5~& ' _RGB32(255,228,181)
  174. CONST MountainMeadow = &HFF30BA8F~& '_RGB32(48,186,143)
  175. CONST Mulberry = &HFFC54B8C~& '_RGB32(197,75,140)
  176. CONST NavajoWhite = &HFFFFDEAD~& ' _RGB32(255,222,173)
  177. CONST Navy = &HFF000080~& ' _RGB32(0,0,128)
  178. CONST NavyBlue = &HFF1974D2~& '_RGB32(25,116,210)
  179. CONST NeonCarrot = &HFFFFA343~& '_RGB32(255,163,67)
  180. CONST OldLace = &HFFFDF5E6~& ' _RGB32(253,245,230)
  181. CONST Olive = &HFF808000~& ' _RGB32(128,128,0)
  182. CONST OliveDrab = &HFF6B8E23~& ' _RGB32(107,142,35)
  183. CONST OliveGreen = &HFFBAB86C~& '_RGB32(186,184,108)
  184. CONST Orange = &HFFFFA500~& ' _RGB32(255,165,0)
  185. CONST OrangeRed = &HFFFF4500~& ' _RGB32(255,69,0)
  186. CONST OrangeYellow = &HFFF8D568~& '_RGB32(248,213,104)
  187. CONST Orchid = &HFFDA70D6~& ' _RGB32(218,112,214)
  188. CONST OuterSpace = &HFF414A4C~& '_RGB32(65,74,76)
  189. CONST OutrageousOrange = &HFFFF6E4A~& '_RGB32(255,110,74)
  190. CONST PacificBlue = &HFF1CA9C9~& '_RGB32(28,169,201)
  191. CONST PaleGoldenRod = &HFFEEE8AA~& ' _RGB32(238,232,170)
  192. CONST PaleGreen = &HFF98FB98~& ' _RGB32(152,251,152)
  193. CONST PaleTurquoise = &HFFAFEEEE~& ' _RGB32(175,238,238)
  194. CONST PaleVioletRed = &HFFDB7093~& ' _RGB32(219,112,147)
  195. CONST PapayaWhip = &HFFFFEFD5~& ' _RGB32(255,239,213)
  196. CONST Peach = &HFFFFCFAB~& '_RGB32(255,207,171)
  197. CONST PeachPuff = &HFFFFDAB9~& ' _RGB32(255,218,185)
  198. CONST Periwinkle = &HFFC5D0E6~& '_RGB32(197,208,230)
  199. CONST Peru = &HFFCD853F~& ' _RGB32(205,133,63)
  200. CONST PiggyPink = &HFFFDDDE6~& '_RGB32(253,221,230)
  201. CONST PineGreen = &HFF158078~& '_RGB32(21,128,120)
  202. CONST Pink = &HFFFFC0CB~& ' _RGB32(255,192,203)
  203. CONST PinkFlamingo = &HFFFC74FD~& '_RGB32(252,116,253)
  204. CONST PinkSherbet = &HFFF78FA7~& '_RGB32(247,143,167)
  205. CONST Plum = &HFFDDA0DD~& ' _RGB32(221,160,221)
  206. CONST PowderBlue = &HFFB0E0E6~& ' _RGB32(176,224,230)
  207. CONST Purple = &HFF800080~& ' _RGB32(128,0,128)
  208. CONST PurpleHeart = &HFF7442C8~& '_RGB32(116,66,200)
  209. CONST PurpleMountainsMajesty = &HFF9D81BA~& '_RGB32(157,129,186)
  210. CONST PurplePizzazz = &HFFFE4EDA~& '_RGB32(254,78,218)
  211. CONST RadicalRed = &HFFFF496C~& '_RGB32(255,73,108)
  212. CONST RawSienna = &HFFD68A59~& '_RGB32(214,138,89)
  213. CONST RawUmber = &HFF714B23~& '_RGB32(113,75,35)
  214. CONST RazzleDazzleRose = &HFFFF48D0~& '_RGB32(255,72,208)
  215. CONST Razzmatazz = &HFFE3256B~& '_RGB32(227,37,107)
  216. CONST Red = &HFFFF0000~& ' _RGB32(255,0,0)
  217. CONST RedOrange = &HFFFF5349~& '_RGB32(255,83,73)
  218. CONST RedViolet = &HFFC0448F~& '_RGB32(192,68,143)
  219. CONST RobinsEggBlue = &HFF1FCECB~& '_RGB32(31,206,203)
  220. CONST RosyBrown = &HFFBC8F8F~& ' _RGB32(188,143,143)
  221. CONST RoyalBlue = &HFF4169E1~& ' _RGB32(65,105,225)
  222. CONST RoyalPurple = &HFF7851A9~& '_RGB32(120,81,169)
  223. CONST SaddleBrown = &HFF8B4513~& ' _RGB32(139,69,19)
  224. CONST Salmon = &HFFFA8072~& ' _RGB32(250,128,114)
  225. CONST SandyBrown = &HFFF4A460~& ' _RGB32(244,164,96)
  226. CONST Scarlet = &HFFFC2847~& '_RGB32(252,40,71)
  227. CONST ScreaminGreen = &HFF76FF7A~& '_RGB32(118,255,122)
  228. CONST SeaGreen = &HFF2E8B57~& ' _RGB32(46,139,87)
  229. CONST SeaShell = &HFFFFF5EE~& ' _RGB32(255,245,238)
  230. CONST Sepia = &HFFA5694F~& '_RGB32(165,105,79)
  231. CONST Shadow = &HFF8A795D~& '_RGB32(138,121,93)
  232. CONST Shamrock = &HFF45CEA2~& '_RGB32(69,206,162)
  233. CONST ShockingPink = &HFFFB7EFD~& '_RGB32(251,126,253)
  234. CONST Sienna = &HFFA0522D~& ' _RGB32(160,82,45)
  235. CONST Silver = &HFFC0C0C0~& ' _RGB32(192,192,192)
  236. CONST SkyBlue = &HFF87CEEB~& ' _RGB32(135,206,235)
  237. CONST SlateBlue = &HFF6A5ACD~& ' _RGB32(106,90,205)
  238. CONST SlateGray = &HFF708090~& ' _RGB32(112,128,144)
  239. CONST Snow = &HFFFFFAFA~& ' _RGB32(255,250,250)
  240. CONST SpringGreen = &HFF00FF7F~& ' _RGB32(0,255,127)
  241. CONST SteelBlue = &HFF4682B4~& ' _RGB32(70,130,180)
  242. CONST Sunglow = &HFFFFCF48~& '_RGB32(255,207,72)
  243. CONST SunsetOrange = &HFFFD5E53~& '_RGB32(253,94,83)
  244. CONST Tann = &HFFD2B48C~& ' _RGB32(210,180,140)
  245. CONST Teal = &HFF008080~& ' _RGB32(0,128,128)
  246. CONST TealBlue = &HFF18A7B5~& '_RGB32(24,167,181)
  247. CONST Thistle = &HFFD8BFD8~& ' _RGB32(216,191,216)
  248. CONST TickleMePink = &HFFFC89AC~& '_RGB32(252,137,172)
  249. CONST Timberwolf = &HFFDBD7D2~& '_RGB32(219,215,210)
  250. CONST Tomato = &HFFFF6347~& ' _RGB32(255,99,71)
  251. CONST TropicalRainForest = &HFF17806D~& '_RGB32(23,128,109)
  252. CONST Tumbleweed = &HFFDEAA88~& '_RGB32(222,170,136)
  253. CONST Turquoise = &HFF40E0D0~& ' _RGB32(64,224,208)
  254. CONST TurquoiseBlue = &HFF77DDE7~& '_RGB32(119,221,231)
  255. CONST UnmellowYellow = &HFFFFFF66~& '_RGB32(255,255,102)
  256. CONST Violet = &HFFEE82EE~& ' _RGB32(238,130,238)
  257. CONST VioletBlue = &HFF324AB2~& '_RGB32(50,74,178)
  258. CONST VioletRed = &HFFF75394~& '_RGB32(247,83,148)
  259. CONST VividTangerine = &HFFFFA089~& '_RGB32(255,160,137)
  260. CONST VividViolet = &HFF8F509D~& '_RGB32(143,80,157)
  261. CONST Wheat = &HFFF5DEB3~& ' _RGB32(245,222,179)
  262. CONST White = &HFFFFFFFF~& ' _RGB32(255,255,255)
  263. CONST Whitesmoke = &HFFF5F5F5~& ' _RGB32(245,245,245)
  264. CONST WildBlueYonder = &HFFA2ADD0~& '_RGB32(162,173,208)
  265. CONST WildStrawberry = &HFFFF43A4~& '_RGB32(255,67,164)
  266. CONST WildWatermelon = &HFFFC6C85~& '_RGB32(252,108,133)
  267. CONST Wisteria = &HFFCDA4DE~& '_RGB32(205,164,222)
  268. CONST Yellow = &HFFFFFF00~& ' _RGB32(255,255,0)
  269. CONST YellowGreen = &HFF9ACD32~& ' _RGB32(154,205,50)
  270. CONST YellowOrange = &HFFFFAE42~& '_RGB32(255,174,66)
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline doppler

  • Forum Regular
  • Posts: 241
    • View Profile
Re: $COLOR32
« Reply #2 on: August 02, 2019, 08:24:17 am »
Just for yucks, I thought let's give a shot.  Using 1.3 stable compiling the program gives the following error:

Element not defined in line 137 of c:\qb64\source\sub_functions\sub_functions.bas included on line 20722

Guess you did more tweaking than just qb64.bas source.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: $COLOR32
« Reply #3 on: August 02, 2019, 08:57:40 am »
Just for yucks, I thought let's give a shot.  Using 1.3 stable compiling the program gives the following error:

Element not defined in line 137 of c:\qb64\source\sub_functions\sub_functions.bas included on line 20722

Guess you did more tweaking than just qb64.bas source.

Didn’t change a thing in sub_functions.  I’ll need to dig to see what it’s talking about for you.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: $COLOR32
« Reply #4 on: August 02, 2019, 09:10:32 am »
Just for yucks, I thought let's give a shot.  Using 1.3 stable compiling the program gives the following error:

Element not defined in line 137 of c:\qb64\source\sub_functions\sub_functions.bas included on line 20722

Guess you did more tweaking than just qb64.bas source.

Okies... That's a weird message.  Line 137 of sub_functions.bas is  simply a call to register the internal if of _GL_RENDER.  There's zero elements there that aren't used everywhere else to register previous commands.  I have no idea why it's not working for you. 

If you get a chance, and feel like it, open sub_function.bas and see if line 137 is the same as mine:
Code: [Select]
regid 
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline doppler

  • Forum Regular
  • Posts: 241
    • View Profile
Re: $COLOR32
« Reply #5 on: August 02, 2019, 10:12:59 am »
Here is the code block around line 137

129
130 clearid
131 id.n = "_GLRENDER"
132 id.subfunc = 2
133 id.callname = "sub__glrender"
134 id.args = 1
135 id.arg = MKL$(LONGTYPE - ISPOINTER)
136 id.specialformat = "{_BEHIND|_ONTOP|_ONLY}"
137 id.NoCloud = 1
138 regid
139

This is unmodified code from 1.3 stable release.  My line 137 does not match yours.
The 64 bit version of 1.3 stable pukes on the same line as the 32 bit version.
I added the line numbers for reference.

Posting the entire sub_functions.bas code would be stupid, since GIT has the original code.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: $COLOR32
« Reply #6 on: August 02, 2019, 10:32:59 am »
I see the issue — you’re looking at the “master” build, and not the “development” build. 

https://github.com/Galleondragon/qb64/blob/development/source/subs_functions/subs_functions.bas

Back in April, Fellippe removed all the old references to the Cloud stuff and all the id.NoCloud references were removed.  It’s a difference in me copy/pasting from the altered “development-version” of the BAS file, and your having the “master-version” of the build. 

You’d need the latest dev version to plug in the file and have it work, since there’s been a bunch of other changes installed between them as well.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline doppler

  • Forum Regular
  • Posts: 241
    • View Profile
Re: $COLOR32
« Reply #7 on: August 02, 2019, 11:31:37 am »
Development software goes by the name "Cutting edge", also know by it's corollary "Bleeding edge".

I will wait for the next merged build.
I want to play with QB64, not have wrong kind of "Fun" with Qb64.

Offline RhoSigma

  • QB64 Developer
  • Forum Resident
  • Posts: 565
    • View Profile
Re: $COLOR32
« Reply #8 on: August 02, 2019, 12:35:51 pm »
Steve,

BTW - can you please merge in my latest pull request (you remember the array_check() thing), or is this only allowed to be done by Fellippe and/or Luke?

@doppler
The QB64 dev builts usually running pretty stable too. If there are no heavy changes in some internals which need comprehensive testing, but bugfixes/enhancements only, then they run at least as good as the (so called) stable releases even with the benefit of the fixed bugs and made enhancements.
My Projects:   https://qb64forum.alephc.xyz/index.php?topic=809
GuiTools - A graphic UI framework (can do multiple UI forms/windows in one program)
Libraries - ImageProcess, StringBuffers (virt. files), MD5/SHA2-Hash, LZW etc.
Bonus - Blankers, QB64/Notepad++ setup pack

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: $COLOR32
« Reply #9 on: August 02, 2019, 03:56:23 pm »
Steve,

BTW - can you please merge in my latest pull request (you remember the array_check() thing), or is this only allowed to be done by Fellippe and/or Luke?

I probably have permissions to pull and merge things, but the version of github I have doesn't make it readily apparent how to do so with their interface.  I've got a very basic GUI interface to basically "pull from repo" and "push to repo", and I'm too lazy about figuring out how to get it to do all the other things like merge/branch/ect...

Since your changes were relatively simple to make, I went into QB64.bas, made the changes to my copy, and pushed them into the development build myself for you.  It's not quite a "merge" -- it's a "commit" by me -- but in the end, the result is the same: 

Your changes are now part of the development build.  ;)
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline RhoSigma

  • QB64 Developer
  • Forum Resident
  • Posts: 565
    • View Profile
Re: $COLOR32
« Reply #10 on: August 02, 2019, 04:45:51 pm »
Thank you very much, Steve!
My Projects:   https://qb64forum.alephc.xyz/index.php?topic=809
GuiTools - A graphic UI framework (can do multiple UI forms/windows in one program)
Libraries - ImageProcess, StringBuffers (virt. files), MD5/SHA2-Hash, LZW etc.
Bonus - Blankers, QB64/Notepad++ setup pack

Offline RhoSigma

  • QB64 Developer
  • Forum Resident
  • Posts: 565
    • View Profile
Re: $COLOR32
« Reply #11 on: August 03, 2019, 11:55:20 am »
Just tested the latest dev builts, everything seems to work as intended with the array_check() now.

Also the $COLOR32 thing is a nice and useful addition, but maybe you still want to add the new meta-keyword into the list of keywords for syntax highlighting (source\ide\ide_global.bas).

Thanx again...
My Projects:   https://qb64forum.alephc.xyz/index.php?topic=809
GuiTools - A graphic UI framework (can do multiple UI forms/windows in one program)
Libraries - ImageProcess, StringBuffers (virt. files), MD5/SHA2-Hash, LZW etc.
Bonus - Blankers, QB64/Notepad++ setup pack