Jump to content

Attila Kovacs

Members
  • Content Count

    2007
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Images in High DPI, how?

    A 4K display is also a change, but I can feel your pain. Maybe you could make it optional, to switch to a new icon set. Especially on HDPI.
  2. Attila Kovacs

    Images in High DPI, how?

    as I mentioned, the scaling is upward and the actual size is about the same, so the vector image scaled will look even better, but maybe my eyes are not working properly and you are right or whatever, please try to convience me that i'm not just dumb but I can't see shit.
  3. Attila Kovacs

    Images in High DPI, how?

    @Anders Melander That is not an svg issue, it's a general problem. I solve this by trying multiple candidates on the smallest dimension I need and choose the best one. Or many times editing it to get the best out of it. For example, wrong dimensions defined in the SVG could result a blurry small image, meanwhile by adjusting it will give a crisp image etc... Nobody told you it's easy and fun! But it has to be made only once!
  4. Attila Kovacs

    Images in High DPI, how?

    @David Heffernan I don't, but I have one master main svg-imagelist and two client svg-imagelists chained to it, all three having different dimensions. As the scaling is always upward (or none), and so is the resolution there are no regressions I encounter or I could think about. You have to be more specific about your concerns.
  5. Attila Kovacs

    Images in High DPI, how?

    It is right for the icons and it is the way, and it is hard to find an svg provider which has a wide range of icons with the same drawing-style to cover every needs. But the result makes a difference.
  6. this sounds familiar to me 😉
  7. Attila Kovacs

    Linux: wrong enum size

    @emailx45 {$Z1} / {$Z2} / {$Z4}
  8. Attila Kovacs

    Can't edit my post?

    After X hours the admins are carving them into stones 😉
  9. Project Options -> Delphi Compiler -> Hints and Warnings -> Output warnings -> "Duplicate constructor/destructor with identical parameters will be inacessible from C++" -> False did the trick. (Note the typo in the IDE)
  10. I'm curious how would you write values to a "record" without knowing its implementation details. Through parsing and validating its class operators? Anyway, if you look after "delphi rtti record fields", you will find plenty of hits how to do it. It's pretty simple.
  11. Nullable<> is a record, you have to get its (record)value, do your job on it (assign the values to this fetched record), then write it back to the field/property.
  12. Attila Kovacs

    Prefix unit local variable names

    in case of emergency break glass
  13. Attila Kovacs

    git and Delphi tooling?

    Hey, wasn't an offense, I'm totally fine with it!
  14. Attila Kovacs

    git and Delphi tooling?

    @pyscripter I neither care about stealing. But if a system gets exposed (public or not) it could be an easy target for any kind of cyber-attack. No you don't. It was just XP the last time which had a EOL back in 2008. Trust is an unbeatable argument.
  15. Attila Kovacs

    git and Delphi tooling?

    Please forgive my naivety and let me ask, do companies really putting their valuable source codes on an online platform?
  16. Attila Kovacs

    In Case You Didn't Know

    Come on 🙂 @Lars Fosdal remove the topic if it's inappropriate, the screenshot is still from emba wiki.
  17. Attila Kovacs

    In Case You Didn't Know

    @Anders Melander I meant it in a ascii art way 😄
  18. Attila Kovacs

    Manage overloaded IfThen functions

    for sure H := (C = 0 ? 0 : V = r ? (g - b) / C : V = g ? (b - r) / C + 2 : (r - g) / C + 4 );
  19. Attila Kovacs

    Manage overloaded IfThen functions

    isn't this "IfThen" is the one that nobody uses because it evaluates both branches?
  20. Attila Kovacs

    SQL Update

    Warning. This changes the SP fundamentally where negative numbers were ignored.
  21. Attila Kovacs

    SQL Update

    I don't know IB nor do I know the result of the IM JOIN WH but I don't like the "SUM(IM.TRS)TRS" I would write this like ISNULL( SUM( ISNULL(IM.TRS, 0) ), 0) AS TRS
  22. At least a splash screen would be nice. You don't want to put your db connection into a thread. Nor many other things. It's so 90's. ctrl+shift+esc
  23. Attila Kovacs

    HTML Library review and sale: 25% off.

    It is.
×