Jump to content

Dolf86

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About Dolf86

  • Rank
    Rookie
  1. Hi Zenophon! I tried to display a jpg image inside a Picture control using the dialog system, in particular i wanted to display the "editor preview" (configFile >> "CfgVehicles" >> "vehicleclass" >> "editorPreview"), but i had to change line 249 inside Zen_InvokeDialog.sqf from this: //(lines from 243 to 253 inside "\Zen_FrameworkFunctions\Zen_DialogSystem\Zen_InvokeDialog.sqf" case "PICTURE": { if ((toUpper _controlType) in ["LIST","DROPLIST"]) then { for "_i" from 0 to (lbSize _control - 1) do { _control lbSetPicture [_i, _data select _i]; }; } else { if ([".paa", _data] call Zen_StringIsInString) then { _control ctrlSetText _data; }; }; }; to this: //(lines from 243 to 253 inside "\Zen_FrameworkFunctions\Zen_DialogSystem\Zen_InvokeDialog.sqf" case "PICTURE": { if ((toUpper _controlType) in ["LIST","DROPLIST"]) then { for "_i" from 0 to (lbSize _control - 1) do { _control lbSetPicture [_i, _data select _i]; }; } else { if ([".paa", _data] call Zen_StringIsInString || [".jpg", _data] call Zen_StringIsInString) then { _control ctrlSetText _data; }; }; }; Is there a reason for display only paa images inside a "Picture" control?
  2. Ok, now i get it! I will try soon, thank you! And congratulations for the framework, it became essential to me. Great work!
  3. Ok, i managed to get the x and y when i click on the map. How can i convert screen coordinates to world coordinates since it seems i can't use ctrlMapScreenToWorld?
  4. Hi! Is there any code example for the map control (dialog)? I'd like to know how to click on the map and add the selected point coordinates to a list control.
  5. Hi! Thanks for your amazing work! Is it possible to add C# support using something like CppSharp ?
  6. Thank you! Do you know if there is a way to update the dll without restart ArmA?
×