Jump to content

XML:ONLV: Difference between revisions

118 bytes added ,  28 August 2013
m
no edit summary
(some untested BSL code to manage object groups, my only worry is that some simultaneous hiding/unhinding will make objects 'flash' for a moment)
mNo edit summary
Line 367: Line 367:
https://dl.dropboxusercontent.com/u/139715/OniGalore/TV_triggered_env_show.png
https://dl.dropboxusercontent.com/u/139715/OniGalore/TV_triggered_env_show.png


If the objects appear to ''flash'' we could replace the hide_all_object_groups function with individual TV exit functions.


  func hide_all_object_groups
  func hide_all_object_groups
Line 378: Line 379:
  }
  }
   
   
  func show_object_group (int colA, int colB, int colC, int colD, int colE, int colF, int colG, int colH)
  func show_object_group (int grpA, int grpB, int grpC, int grpD, int grpE, int grpF, int grpG, int grpH)
  {
  {
  env_show (colA, 1)
  env_show (grpA, 1)
  env_show (colB, 1)
  env_show (grpB, 1)
  env_show (colC, 1)
  env_show (grpC, 1)
  env_show (colD, 1)
  env_show (grpD, 1)
  env_show (colE, 1)
  env_show (grpE, 1)
  env_show (colF, 1)
  env_show (grpF, 1)
  env_show (colG, 1)
  env_show (grpG, 1)
  env_show (colH, 1)
  env_show (grpH, 1)
   
   
  # if user uses 0 he must place it as first argument  
  # if user uses 0 he must place it as first argument  
Line 393: Line 394:
  # are taken to be 0, so we must take care of unwanted zeros
  # are taken to be 0, so we must take care of unwanted zeros
   
   
  if (colG eq 0) and (colH eq 0)
  if (grpG eq 0) and (grpH eq 0)
  {
  {
  # hide 0 collection
  # hide 0 group
  env_show (0, 0)
  env_show (0, 0)
  }
  }
8,452

edits