Firstly, to note: I never asked anyone for help for that year of being part of this community.What's about: I'm making my own graphics editor (currently looking like msPaint with number of filters

), I have lots of things done, but I'm stuck on making paint bucket tool
What I have now:
-download link- Inside, simplified version of paint bucket code I tried to do (causes crash or weird results), and several functions for manipulating
bmaps.
Please! Help me someone! I really need it...