1. 26 6月, 2014 4 次提交
    • J
      Add module callbacks for loading locale data · 1abf9157
      jp9000 提交于
      The module callback obs_module_set_locale will be called after loading
      the module, and any time the locale is manually changed via core API.
      
      When this function is called, the module is expected to load new text
      lookup values for all the text it uses based upon the current locale.
      1abf9157
    • J
      Remove 'locale' parameter from all callbacks · 0b4a259e
      jp9000 提交于
      The locale parameter was a mistake, because it puts extra needless
      burden upon the module developer to have to handle this variable for
      each and every single callback function.  The parameter is being removed
      in favor of a single centralized module callback function that
      specifically updates locale information for a module only when needed.
      0b4a259e
    • J
      Remove 'locale' from properties · 74b4743b
      jp9000 提交于
      Having the value stored here is somewhat pointless, so this is one step
      in fixing the locale handling.  Locale should be handled by the modules
      themselves with their own loaded locale lookup information.
      74b4743b
    • J
      Add API for setting/getting current locale · 899f0530
      jp9000 提交于
      This API is used to set the current locale for libobs, which it will set
      for all modules when a module is loaded or specifically when the locale
      is manually changed.
      899f0530
  2. 24 6月, 2014 3 次提交
    • J
      Make settings window only save data that changes · 9f652e64
      jp9000 提交于
      Currently, if a user presses 'OK' or 'Apply' on the settings window, it
      will save all data from all controls on a settings pane, regardless of
      whether of not they were changed.  The major issue with this is that
      setting the data will overwrite all default values, making it impossible
      for default values to be used if a user didn't actually change a value.
      (Thanks to palana for pointing this fact out)
      
      So instead, mark a control as 'changed' using QObject::property() and
      QObject::sender(), and add a few helper functions to controls to ensure
      that they are checked to see whether they were actually changed directly
      by the user before saving the value to the config.
      9f652e64
    • J
      Merge pull request #123 from Arkkis/patch-2 · f431decf
      Jim 提交于
      Update fi.txt
      f431decf
    • A
      Update fi.txt · 81479e0e
      Arkkis 提交于
      81479e0e
  3. 23 6月, 2014 6 次提交
    • J
      Do not clamp aspect by default when using bounds · 1ac859f5
      jp9000 提交于
      If the scene item has a bounding box set up for it, do not make it use
      aspect ratio clamping by default.
      
      Instead, make it so that shift will turn on aspect ratio, and make it
      also apply to all types of bounding box modes.
      
      The only time where aspect ratio clamping should apply by default is
      when bounds are not in use (i.e. when a source is just created).  Some
      will disagree with me just because that's how photoshop does it, but
      we're not photoshop, and I feel that the majority of users will have
      more trouble with it disabled by default than enabled by default.
      
      So to sum it up:
      
      If bounds inactive, clamp aspect ratio by default, because scene items
      start out with it inactive, and it directly affects the scale.
      
      If bounds active, do not clamp aspect ratio by default, because clamping
      to aspect ratio doesn't particularly have an effect for mode bounds
      modes except for "stretch to bounds".
      1ac859f5
    • J
      Make 'center to screen' just center the source · aef8c218
      jp9000 提交于
      Instead of using bounds to force the source to be centered (and
      unrotated), just center the source positionally on the screen.  Will
      also preserve rotation.
      aef8c218
    • J
      UI: Change transform value 'scale' to 'size' · 933f5787
      jp9000 提交于
      There's no reason to represent this value in terms of scale.  Scale is a
      useless value for users to use.  What are they going to enter, 0.5?
      2.0?  0.25?
      
      Even if it can be subject to change by the source itself, and even if
      it's still converted to scale internally, having it display the base
      source size value is much more ideal for the user.
      933f5787
    • J
      Merge pull request #116 from palana/obs-data-changes · bd4223a2
      Jim 提交于
      obs-data default value semantics change and autoselect value introduction
      bd4223a2
    • J
      Merge pull request #121 from BtbN/fixes · 79619d06
      Jim 提交于
      Honor QUIET argument in FindJansson
      79619d06
    • J
      Merge pull request #122 from reboot/fix_xcomposite_config_loss · e430ff3a
      Jim 提交于
      Fix that the xcomposite configuration is lost when source is recreated
      e430ff3a
  4. 22 6月, 2014 11 次提交
  5. 20 6月, 2014 3 次提交
  6. 19 6月, 2014 2 次提交
  7. 18 6月, 2014 3 次提交
  8. 17 6月, 2014 8 次提交